Refactoring to use #current_object and #current_document instead of @object and @document instance variables.
Fixes #322.
Fixes #323.
Bug fixes
Merge pull request #340 from duke-libraries/current-object-document

Refactoring to use #current_object and #current_document instead of @obj...