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

Rename defaultMediaType attribute to mediaType to follow specification
Major refactor of constructors #28
Closes #32