Changes orm.connect() to return an eventemitter

People can avoid passing a callback and just listen for connect(err,
db) event.
Adds test for orm.connect() "connect" event