Updated Master server test to connect to configured messenger endpoint
Added intelligent `require` function in test specs to load either normal
source code or instrumented source code depending on the grunt task that
was invoked
Merge branch 'refactor/test-helpers'