Save the id of shared folders in the image path so we can always recreate the original path
Set root breadcrumb of publicly shared gallery to the name of the shared album

Fixes #1528

Conflicts:
	gallery/js/gallery.js
Use the oc:// streamwrapper to create thumbnails instead of loading images from file handle