Quick conversion to Vaadin 7 with minor changes.

Original addon can be found in Vaadin directory:
https://vaadin.com/addon/numberfield

Also included a small test UI with custom theme.