JSONSchema additions

New del for schema validation and a quick little test of validation and
error handling. Not sure how much I want to pass on to the consumer
app, as it should be pretty basic structures at day one.