Create test .jshintrc, move test globals there

Instead of specifying all the globals used in test in the main
.jshintrc file, create one for the test directory and specify them
there.
Add protractor support

Add support for protractor (test framework), along with a single e2e
test.  Test the main page a bit, include a class to help testing.