pe-basic-mocha-tests

Re-do our approach to unit tests (mocha), midway testing (karma) for the Angular wiring in index.js, and e2e (protractor).