Base Repository for sails app with backbone