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