Fix for DATAREST-72. `ResourceMapping.isExported()` is now considered for displaying the link to the repository or when building the metadata for the request. Now sends back a 404 when a repository is not exported and an attempt to access it is made.