Add priority array for media types.

This is similar to how this was before this branch.

.mediaTypes is now an array ordered from highest to lowest priority used
to determine what the first choice should be when given `Accept: */*`.
.mediaType is the object with the handlers.
Fix test for the reintroduction of .mediaType.