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