Using Promises for login flow

Follow the same flow as the signup and token validate views.
Corrected the url of the template file for resend-validation token.
Show login errors to the user

Extend the data to display on the template.
Also a reference to model corrected.
Dashboard view creating and displaying

Allow direct route to /dashboard via node routes.
Render the dashboard into body and render on init.
Added requiresLogin middleware to check session data added during login.
Renamed the backend router

Rename routes/index to routes/router
May need to break up into individual routes again later.
Organise the dashboard subviews

Call render on initialise of sub views.
Render dashboard and pass contianers to sub views.