Added formatting options to number field.
Fixed TreeTypeTest.
Merge pull request #36 from beregond/numberformat

Added formatting options to number field.