patchupdate.py: Add additional cache to speed up lookup of git source files based on commit sha1.
patchupdate.py: Some style improvements (1/2).
patchupdate.py: Move all defined paths into a config class (to allow easier modification). (2/2)