added check for invalid magic number
added check for reserved field
refactored exceptions
added check for invalid sfnt size
added header validor for metadata
added more tests for metadata validation
added tests for validation of private data
added more validation and tests
added access to validation for header