Added sir-trevor-js's dependencies (Underscore.js and Eventable)
Initialise some javascript things, set site url and session csrf token. Add csrf token header to all ajax requests and expect json back.
csrf filter now checks the x-csrf-token header value
Added id to login form and names to email and password inputs
Added error holder to login modal
Updated auth.php to point to the new and correct User model
Added UserController and login authentication route
Display login alerts as blocks
Added user javascript file with login function