Fix error on user-defined restangular fields

collection.post and collection.getList is undefined, after renaming restangular fields by:
RestangularProvider.setRestangularFields(renamedFields);
I might be wrong, but shouldn't it be `var allMethod = config.restangularFields.all || "all";`. I don't really see the point of testing on `parent`...