taking a stab at supporting something like #523
Merge pull request #532 from projectblacklight/issue-523

Update index_field and document_show_field (and similar) methods to support an optional 'document' argument, which may be used downstream to inject alternative index/show fields based on characteristics of a document.