Initialize ShadowImageView.matrix field to prevent NPE. Real android source starts with this field initialized:-

https://android.googlesource.com/platform/frameworks/base/+/jb-release/core/java/android/widget/ImageView.java
Add test for ImageView to show that ImageView.matrix must be initialized
Merge branch 'master' of https://github.com/robolectric/robolectric into shadow_image_view_fix
Merge pull request #1271 from jongerrish/shadow_image_view_fix

Initialize ShadowImageView.matrix field to prevent NPE.
Support custom item states in android selectors.

This was failing because custom namespaced attributes are not correctly resolved, since the Node.getName()
returns the fully qualified name including the namespace which cannot be resolved in Robolectric's ResourceIndex.

We actually need to check here if the attribute's namespace is the default namespace and if so then we can just
return the local name.

This PR is also related to https://github.com/robolectric/robolectric/pull/1272 which will
replace any res-auto custom namespaces with the default package.
Merge pull request #1281 from jongerrish/construct_custom_views_with_custom_state

Support custom item states in android selectors.
Support for subclasses of android.content.res.Resources().

ShadowResources will use the application ResourceLoader by default. Only the System Resources will have its ResourceLoader explicitly bound.

Convert all references to resourceLoader instance member to using the accessor to ensure instantiation.

Add test which exposed an NPE for ShadowResources.resourceLoader and fix.