JSON schema

Added JSON schema and changed karma version to 0.10. These changes allow the authoring tool to use components.