Add tests that demonstrate the functionality of hintCtrl formatting functions.
These tests mock the hintService to test the operation of hintCtrl
functions for splitting and using received messages.
To improve testability, the backend communication with the developer tools is moved to
a service that can then be mocked for testing purposes. Moving functionality to
a service means that an app file is needed to create the module before the controller
and the service and that the app, service, and controller should be contained in the
application html page.
Due to the loading order of angular in a chrome extension, include the angular-csp.css
to allow the operation of ng-show and ng-class. Also, update the ng-show and ng-class
logic.