Refactor user model validations.
Refactor registration controller's create method.

Moved creation of user rights and database in the user model.

Pending - tests
Merge branch 'registrations_refactor'

Conflicts:
	app/models/tenant.rb