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.