fix for issue #1227. Adding getSentBroadcastIntents and getRegisteredBroadcastReceivers

Change-Id: Ie524fa4b7a2bfbe3ee9ef5616d178b34a79b5d10