Add a schema for the input json

Also add a schema validator to the bower dependancies, and use it when loading
the question data.