Updated Sails class to inherit from EventEmitter using util.inherits, so that each instance of Sails will be its own event emitter instead of sharing a global event space with all instances of Sails.
Updated generator factor to call the “generate” method of a generator if explicitly defined (as in the “api” generator), and to add the generator’s (optional) “logStatusOverride” property to the passed-in options.
Updated usage of logStatusOverride method, which is now added in to the passed-in options in factory.js.
Fixed “api” generator by cloning the shared options object for controller and model.
Merge branch 'v0.10' of https://github.com/balderdashy/sails into v0.10