XD-1809 Improve E2E Test Coverage

* Add E2E tests
* Update Protractor
* Add support for page-specific titles (In head) so that the browser history looks good
* Add support in `e2e-test.sh` for debug flag
Please add a comment saying it requires the admin server running `http://localhost:8000` as per test/protractor.conf.js