Removed unused constant.
For replacement see .utils.PORTALTYPE_TO_MIMETYPE_MAPPING
Reorganize the logic into two groups of helper and view functions.
Deflect the missing version issue by looking ahead for the version. #111
Add 404 tests for extra metadata API
Refactor redirect to latest code to remove duplicate code
Merge pull request #116 from karenc/extra-api-redirection

Extra API redirection