Add Json Schema validation for simple schemas

The validation method can handle Json Schema files that have internal
references (#ref) and will properly resolve these.
More complex Schema files with external references will have to be
handled by directly using the JsonSchema library api. This is a
convenience method to handle the most common cases.