Implement isValid methods for all editors. Added 'validate' method to jsoneditor. Fixes #11
Fix bug with default values not being used when setting an incomplete value.