Ensure string resources are escaped

Fixes https://github.com/robolectric/robolectric/issues/1091

String resources are currently not escaped as they are parsed from XML files, extract escaping code from ShadowResources.getText() to new class / method StringResources.escape() and add escaping to ResType.CHAR_SEQUENCE.