Added authentication

Added simple form authentication
Added angular functionality

Site can be set into angular mode by changing variable in main app.js
file, This will output angular views and js files.

I've added angular test scripts and e2e tests as well as support for
running test runner page.