Add method to terminate the install process

To integrate yeoman in external tools like atom-shell, yeoman should provide a mechanism to terminate yeoman childs process like `npm install` and/or `bower install`. This PR brings in this feature. The API is simple, just call `terminateInstall()` at some point. This will terminate the current installation task and lock any further installation. To reactive the process you must execute `run()` again.

```js
var gen = env.run('polymer');
gen.on('install:terminated', function() {
  console.log('Installation was terminated');
});
gen.installDependencies();
gen.terminateInstall();
```