Implemented "0install store optimise" (automatic hardlinking of identical files)
Fixed code analysis warnings