Make the config path relative to baseUrl

Fixes #139
Use dojo/lang.hitch instead of Function#bind

This is because PhantomJS still does not support Function#bind
and people are requesting out-of-box support for it.
Fix lcov test failures
Check that a cancel function exists before calling it on a promise

Fixes #151.
Merge remote-tracking branch 'upstream/master' into bench