Minimal working version for SPTextField's including tests.
Fixed up class inheritance to use Object.create. Added SPNumberField