Furthr config of test environment
added browserTest task
finishsed writing tests for globals.js
tests for dilaog & public/listen
tests for unlisten.
moved some functionality into 'injectContent' module
created private object as container for private methods in order to ease unit testing
tests for trigger.js
stuck all methods on a methods object to fix circular dependency problems
testing trigger.js