Upgraded Sails.js to 0.10.1 and ported/fixed incompatibilities