exposing global objects in sandbox context

Need to expose some basic global objects and functions ```module, console, setTimeout``` for module testing. Also if running in a context its better to use https://npmjs.org/package/contextify for asynchronous calls happening in the code.

@benvanik wats your opinion on this ?