Add modelTypeFromRoot hook

Add modelTypeFromRoot hook to RESTSerializer for extracting the modelType from the JSON payload key

Also removes the unused singularize and pluralize methods