update #url_for_document to use explicit configuration
Merge pull request #840 from projectblacklight/url-for-document

update #url_for_document to use explicit configuration