made storage return value tests a little more self-contained
typo and grammar changes
Merge pull request #561 from eddiemonge/storageReturn

made storage return value tests a little more self-contained
- Moves `env` and `generator` instatiation to `_onReady` so user have a chance to alter
the environment to the a specific way and expect `env` and `generator` reflects such
settings.

- Emits `ready` event right before calling `generator.run()` to allow any
last minute operation on the `generator`

- Deprecating `onEnd`, instead emits 'end' event as `generator.on('end')`

- Implement `withGenerator()` to mock generator dependencies

- accepts optional second parameter in `inDir` as a callback function.

fixes #564, #565, #573
factor out the common helper logic to register a list of dependent generators into an env.
(also change to use _.isArray for array type check)
Rename `_holdExec` to `async` and make it public (so `cb` of #inDir could use it to perform async tasks.
Rename `_onReady` to `_run` (since it is not really "ready" yet when it is called)
Merge pull request #570 from blai/master

RunContext enhancements
bump deps
Fix typos in mockPrompt tests.
Ensure prompt default functions are called when mocking.
Pass mocked answers object to prompt default functions.
Merge pull request #575 from evocateur/fix-mock-prompt-default-fn

Fix treatment of mockPrompt() default functions
when property is defined by calling `argument()`, set values to `this.args`

fixes #560
passes in arguments and options when calling `env.create()`
Fix flakey storage test
Merge pull request #576 from blai/master

when property is defined by calling `argument()`, set values to `this.args`
Merge pull request #577 from blai/566

passes in arguments and options when calling `env.create()`
Rename #withPrompts() for grammatical consistence

Fix #574
Fix flakey test in storage (hopefully for real)
Include GitHub username data into user action

Moving git.name and git.email from properties to methods