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.

Change-Id: I4f02f56006165e208e6f808d6338c65abd26665c