Allow unpublished in modContext::getResourceURI()

Excluding these was preventing links from being generated to unpublished Resources