Change framework versions.

Make the minimum required API level to 10 (Gingerbread) and maximum to
the latest framework version installed.
Add shim to enable MultipleModal behaviour on API level 10.
Workaround activatedBackground missing in API<11.