adding properties and validations to scalars
forgot to add types.js
saving options state as you switch types
adding validation
Merge pull request #1 from yshavit/types_validation

Types validation