Introduce bitmap compatibility class

- Back-port getByteCount() API earlier than API Level 12.
Merge pull request #22 from KeithYokoma/master

Introduce bitmap api backport compatibility class