Added SherlockActivity and SherlockPreferenceActivity to the classes
that are allowed to be shadowed.
Added boolean support for resources.