fix for issue #1227. Adding getSentBroadcastIntents and getRegisteredBroadcastReceivers

Change-Id: Ie524fa4b7a2bfbe3ee9ef5616d178b34a79b5d10
Merge pull request #1228 from spotify/adding-localbroadcast-shadow

Adding getSentBroadcastIntents and getRegisteredBroadcastReceivers.