Refactor TestLogin to make logging in more reusable

TestLogin is renamed to TestLoginView and TestLogin is now a utility class.
Add support for hash() and equality testing for Transformers
Add unit tests for .views.divisions

Also found and fixed a bug in handling entity change forms with only a name defined.