Backend user management plumming

Initial backend plumming for user management is in place. Not entirely
tested though.
Basic register working
Allow any origin on auth handler
Refactored register to a directive
Added input validation to register form
Refactored DI to Webapi and OWIN better share the container
Add unique check to user name and email when registering
Added unique constraint to UserName and Email

Updated the database create script
Lock Register form while working
Added login functionality

User nav menu changes its options based on login state.
Fixed a bug in Identity implementation where users couldn't be retrieved
via any means.
Added the first parts of Notes functionality to test API access control.
Improved Login / Logout

Added some unit tests
Fixed logout to correctly pass request to server
General UI cleanup
Show user name and email after login
Merge pull request #3 from lukeDrinksCoffee/user-management

User management

Register, Login, Logout and access control.