Set browserid to create user

Browserid now creates user upon login without a previous user created
using the desired e-mail.

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Reimplemented way to create user through browserid

Added more fields to create user with custom model

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Set a flag to update or not user's register

Set a boolean field to tell whether a user needs to update its register
upon registering/logging in through browserid

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Removed 'Register' step from navbar

Now to access this step the user must be authenticated and in need to
update its main data

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Set email to be read-only field

Email is a read-only field so that user won't change it in the
'Register' step

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Validated blank space in username field

Validated a case where the user was able to insert blank space in
username field in the Register step

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Used browserid's default algorythm to create user

The default algorythm generates a hash to save in database

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Linked user instance with form

Linked user instance to form in order to only update it instead of
create another user

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Created middleware to redirect user

Redirecting user to complete its profile with the main data(first/last
name and username) through every page till (s)he updates it.

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Removed message to validate profile

Message is not necessary anymore since browserid itself validates the emails the users register, also deleted script to delete invalid emails since browserid is
already validating the emails.

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>