#718 - Added validation and logging.

The Json Schema validation requires some libraries which conflicts with shindig, so not validating via schema. Putting some if clauses to handle validations for now.

Also added logging for the errors.