Rework Flatpak support
This changes re-implements Flatpak support:
- Obsoletes .uuid file
- Add remap-dir element to manage the maps of dirs between host and container
- Add salt attributes to dir and remap-dir elements to change a salt to generate MD5 for cache filename.
Also include some bug fixes to pass make check
.