Added AJAX user registration. Uses sorcery to encrypt password in the DB.
Added unit tests for user registration (thank you FactoryGirl).