MongoDB - loopback.getCurrentContext() return null

loopback.getCurrentContext() return null after MongoDB call returns.

wrap up @Ichenay's patch https://github.com/lchenay/loopback/commit/f075c79 (see this comment for more details: https://github.com/strongloop/loopback/pull/337#issuecomment-61680577)

Fix #809
The code setting up `runInOtherDomain` and cleaning up after the test should go to standalone before/after hooks, to make it clear it is only loosely related to the custom app & model built for the test.