Handle empty values correctly

Fixes #1
Merge branch 'master' of git://github.com/rowan-lewis/textboxfield