Bulk download and fixes

This adds the bulk download feature (#177) and some tests of the sharing modal.

I also added fixes fix for:
* #189 can't change the clearance of a subfolder
* #185 can't share a folder with limited permission
* #190 subfolders of shared folders didn't have the proper icon (inherited from parent)