Adding support for env

Adding option to pass environment variables to Spook instance when requiring as a node module.