Some javadoc.
Docs for MediaType, and some cleanup.

Closes #35.