Add "booting" flag and emit "booted" event

See strongloop/loopback-workspace#170
`app.booting` should be reset before calling `callback(err)`.