Removed reference to undefined function
Updated error callback for sails-generate to exit the process with an error code (useful for testing)
Fixed / reactivated generator integration tests