raise error when reading malformed schema files
Merge pull request #14 from johnfoconnor/master

Raise error when reading malformed schema files