Rewrite for higher conversion rate

Rewritten using Scala reflection and attribute definitions from Android
core framework.

TODO:
- More tests
- Proper constant support (optimistic approach doesn't fit in every case)
- Non-scaloid view support
- \<view/\> tag support
- Comments?