Login refactoring

- Moved control panel under separate layoutController
- Renamed authController to loginController
- Incapsulated cookie handling into authService
- Refactored promise chains to properly handle request states
- Fixed minor bug with flashing artefact of input form on auth code acception
- Fixed API to return proper error codes
Change voter layout
Fixed API to return proper error codes
Migrate from $cookies to more appropriate $cookieStore
Parse url parameter via native angular method
Rename unAuth to logout, layoutController to mainController
Merge pull request #6 from besuhoff/master

Login refactoring & new voting layout