Add tests for ShareUtil, adjust karma test dev approach

Run grunt watch:src to watch src files and subsequently run the tests
Run grunt watch:test to watch the test files and run the test

The difference being that the changing the tests won't rebuild
the project. Karma kept choking on when there was a file change
and the project hadn't been built yet.