Add a crypt service for simple hasing functions
Load services in app.services and global.Service
Fix default res.json for errors, status and obj were inverted
Add basic fields for a user and add a beforeCreate hook to crypt the password and generate a token
Add support for passportjs, create config and basic login
change auth system, from local to bearer and now we use JWT tokens
Merge pull request #5 from DevAlien/18-add-passportjs

18 add passportjs
Merge branch 'develop' into 17-socket-io-support

Conflicts:
	app.js
	lib/controller.js