Folder Sync Module for Gallery 3, originally from siburny/gallery3