Adding IsString instance for MediaType.

Part of this change removes the MediaType/Internal module.  The tests
require updating to this change.