Merge pull request #129 from tawarisch/master

Recent connections support for BroadcastReceiver
fix broadcastreceiver wrapper to support new features
fix initialisation broadcast-receiver index number and add an unit-test for this
fix bug in broadcastreceiver callback