Adding _item_ resource support. Fixes #1079

Android allows defining resource either by a class name, e.g.,
`<integer... />` or by item&type, e.g., `<item ... type='integer'../>`
This commit add support for the latter.