Use .jshintrc

Use a .jshintrc file to specify jshint rules rather than specifying
them in each file.
Add tests: karma + mocha + chai

Add the files and dependencies necessary to use karma to run the
mocha/chai tests.  Include two browsers: chrome and firefox.  Include a
single initial test on CounterCtrl.