*8777* Dataverse plugin: reactor redundant code

Reactor redundant code in create/update study, single/multiple file deposit methods.
Merge pull request #343 from jwhitney/8777

*8777* Dataverse plugin: reactor redundant code