function pluralize(text){
        // ridiculously weak English pluralization
        return text + (text[text.length-1]==='s'?'es' : 's');
    }
Makes resource name from the collection name
resource names are plural (e.g., 'Customers' resource for 'Customer' collection)

@param text {string} to pluralize
@returns {string}