Contribution upload

Upload Document feature for a contribution including some feature test fixes.