Users: cleanup and new tests.

- Move views to phonebook app.
- Move RegistrationMiddleware to phonebook app.