Added environment for jasmine unit tests
Login action refactoring, added JSON component

Removed forgot/reset password stuff. Remaked form submitting with
pure POST request instead of JSON. Added JSON component for auto
using object toJSON method if it exists.
Added User.toJSON, removed noPassword scope, added preventing of deleting yourself