Login refactoring & new voting layout

- 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
- Migrate from $cookies to more appropriate $cookieStore
- Changed voter layout
- Parse url parameter via native angular method
I've rejected using getToken at all. Using getToken directly seems to be undesirable decapsulation — why should my controller care about any tokens? Hey service, just authorize me how you usually do and that's it

is f0cking loggedIn, by the way? ;)