Add support for nullable number types in Inspector.

Also increase number of significant digits for number values in TextBox
editor to 7. Fixes #97.