Fix for #950

Fixes #950. Differentiates between meta-data specified using the `android:value` and `android:resource` attributes. Resolves value attributes as the correct type. No longer does over-parsing of values (i.e. a string resource value that was all numbers was previously being resolved to an int in the meta-data bundle).