Updating extension tests
Fixing success Media Type detection
Changing extension detection to use request::here
Adding ext()
Adding Media Types functions
Hardened getPreferredErrorType() + tests
Updating tests for getPreferredErrorType()