Fix token drawing height and keyboard hiding on 4.x

Close issue #16
fix for constructor crash on 4.1 and up

TextView's constructor called invalidate() at some point before it was fully initialized, so getShadowColor() would NPE.
Merge pull request #18 from snarfed/master

fix for constructor crash on 4.1 and up
Restore tokens when the view is restored. Close #17.

Includes some lint cleanup.