Bulk download

This adds the bulk download feature (#177) and some tests of the sharing modal.