fix for issue #1227. Adding getSentBroadcastIntents and getRegisteredBroadcastReceivers

Change-Id: Ie524fa4b7a2bfbe3ee9ef5616d178b34a79b5d10
Added test to reproduce NotSerializableException, sample stack:

testSerializableOfParcelableExtra(org.robolectric.shadows.IntentTest)  Time elapsed: 0.015 sec  <<< ERROR!
java.lang.RuntimeException: java.io.NotSerializableException: org.robolectric.shadows.TestParcelable
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
	at java.util.ArrayList.writeObject(ArrayList.java:742)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1495)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
	at org.robolectric.shadows.ShadowIntent.serializeCycle(ShadowIntent.java:646)
	at org.robolectric.shadows.ShadowIntent.putExtra(ShadowIntent.java:263)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.robolectric.bytecode.ShadowWrangler$ShadowMethodPlan.run(ShadowWrangler.java:473)
	at android.content.Intent.putExtra(Intent.java)
	at org.robolectric.shadows.IntentTest.testSerializableOfParcelableExtra(IntentTest.java:113)

Fixed bug by removing unncecesary attempt to serialize a Serializable
Add ShadowOverScroller.
Merge pull request #1233 from tec27/overscroller

Add ShadowOverScroller.
Merge pull request #1229 from blanconet/fix-put-exra-serializable

Added test to reproduce NotSerializableException.
Merge pull request #1228 from spotify/adding-localbroadcast-shadow

Adding getSentBroadcastIntents and getRegisteredBroadcastReceivers.
Add support for Context.MODE_APPEND in Context.openFileOutput.

Closes #1226.
Reuturn information about content providers and permissions when calling
getPackageInfo(name, PackageManager.GET_PROVIDERS).

Closes #1222. Fixes #1210.
Change implementation of Time.parse3339, Time.setToNow, and
SystemClock.setCurrentTimeMillis to use the UI Scheduler's current time.

Closes #1211.
Add ShadowPorterDuffColorFilter for inspecting colors and modes of filters.
Adds ability to verify most recent queue mode used by TTS
Merge pull request #1236 from tec27/shadow_color_filter

Add ShadowPorterDuffColorFilter for inspecting colors and modes of filters.
Merge pull request #1239 from mapzen/tts-queue-mode

Adds ability to verify most recent queue mode used by TTS.
Set the packageName in ProviderInfo returned by the package manager.

This should have been included as part of #1222.
Fix ShadowIntent#putExtra(String, byte[])'s return type.

ShadowIntent's putExtra method for byte arrays was marked as a void
method, when in Android this method actually returns an Intent (the same
Intent, so that these methods are chainable). I've updated the return
type and value to match Android, and added a test to guarantee that all
putExtra methods are chainable.
Keep a Bitmap's pixels when created from Bitmap.createBitmap(int[], int, int, Config).
Merge pull request #1246 from bchang/shadowbitmap

Added some implementations for ShadowBitmap
Handle isUserAMonkey call to avoid NPE. Always return false.
Merge pull request #1248 from anothem/fix/1208

Handle isUserAMonkey call to avoid NPE. Always return false.
Merge pull request #1243 from tec27/putextra_bytearray

Fix ShadowIntent#putExtra(String, byte[])'s return type.