Minor fixes and feature additions

I'm implementing a more realistic sample app and running across various little issues and missing features. This corrects a problem with id-only views and adds support for patterned colors (from resource images). This also add support for UITextField and a simple NITextField that overrides placeholder font and color.