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.
Fix bug with incorrect custom namespace from PR: https://github.com/robolectric/robolectric/pull/1281
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.
Merge pull request #1279 from jongerrish/shadow_resource_subclasses_should_have_app_resourceloader

Shadow resource subclasses should have app resourceloader.
Merge pull request #1286 from jongerrish/fix_custom_namespace_bug

Fix bug with incorrect custom namespace.
Merge branch 'master' of https://github.com/robolectric/robolectric into fix_theme_apply_style

Conflicts:
	src/test/java/org/robolectric/R.java
	src/test/java/org/robolectric/shadows/ResourcesTest.java
Fix merges from regenerated R.java file.