Check for negative/zero input in createBitmap()

Adds a check for negative or zero values for Width/Height in
ShadowBitmap.createBitmap(int width, int height, Bitmap.Config config)
implementation. Raises IllegalArgumentException if params are negative
or zero. Follows implementation in android.graphics.bitmap.
Merge pull request #1216 from Graya3000/master

Check for negative/zero input in createBitmap()
Preserve stack map frames.
Merge pull request #1217 from cushon/master

Preserve stack map frames.
Compile with JDK 7 (default) and 8.
Merge pull request #1218 from robolectric/jw/jdk8

Compile with JDK 7 (default) and 8.
ResName constructor should trim() the attribute value passed in.

Badly formatted XML such as

      <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle
        </item>

Note the wrapped text content causes the actual string passed in to be followed with a CR and whitespace.

Real android handles this formatting fine, so should Robolectric
Implement TestHttpResponse.getContentEncoding.

Closes #1219.
Adding method to FragmentTestUtil to start a visible fragment with a
custom activity class and container view ID.

Closes #1206.
ResName constructor should trim() the attribute value passed in.

Badly formatted XML such as

      <item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionMode.Subtitle
        </item>

Note the wrapped text content causes the actual string passed in to be followed with a CR and whitespace.

Real android handles this formatting fine, so should Robolectric
Merge branch 'master' of https://github.com/robolectric/robolectric
Merge branch 'master' of https://github.com/jongerrish/robolectric
Merge pull request #1221 from jongerrish/master

ResName constructor should trim() the attribute value passed in.
Set the data in ShadowIntent when using the four-arg constructor
Merge pull request #1225 from scottkennedy/master

Set the data in ShadowIntent when using the four-arg constructor
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.