Search module - Sort functionality
Fix create in menu

Fixup 3e5ea8315b7dc51c06eaae265ec4dfb30e4ffab7.

This fixes #49.
Fix local auth module variable
Expose login and logout functions to Auth service
Wrap $apply in deferred
Add trivial login, register and adh-user-indicator embedded directives
Add simple auth controller which exposes login state
Redirect to / after login or register

Otherwise we would keep around an empty Adhocracy stub.
Make login / sign up buttons in menu work
Rename auth.login / register functions to clarify how to use
Remove unneeded userIndicator directive
Enable adhocracy by default

This is needed in order to make the UserState directive in index.html
not fail. Unlinke directives, non-existing controllers don't just fail
silently.

Unfortunately this will result in a error message in the javascript
console if Adhocracy isn't running.