Create custom ShadowResource to get around bug in Robolectric.

This creates a custom shadow that overrides the loadDrawable method to ignore
resource not found errors and return null.  This needs to stay in place until
issue number https://github.com/robolectric/robolectric/issues/1039 is fixed.