Progress, but new issues

Fixes state serialization (code I just simply did not support
serialization of numbers). So had to make own version of
JSONEncoder.

New issue is that @OnStateChange magic is breaking now components
using those (including Button).

Started Form and field stuff, but @OnStateChange magic has to be
resolved before.

Fixes #1