Updated emitted notification events to be backwards compatible.

Instead of returning the object which contains both the notification and the recipient, the notification and recipient are passed as separate arguments, this maintains backwards compatibility because code using the old API will be setting the device property on the notification anyway.
Fixed multiple connections mode