Fixes various TextField layout issues and adds support for more TextField properties

Specifically, the following properties are newly supported:
- numLines
- maxScrollH
- maxScrollV

Also, plain text is now always rendered with line breaks intact, because as it turns out, TextField#multiline = false only prevents line breaks for text input *and* html text. Who would've though.