add test
simplify few code
replaces schema
Merge pull request #36 from qpautrat/feature/schema_replacement

Feature/schema replacement
add test
replace schema only in resources
Merge pull request #37 from qpautrat/bug/schema_and_types

Bug/schema and types
Rename defaultMediaType attribute to mediaType to follow specification
Merge pull request #39 from jeromemacias/media_type

Rename defaultMediaType attribute to mediaType to follow specification
added new exception when the schema is invalid and a common interface to all exceptions
Merge branch 'titomiguelcosta-master'