patchutils.py: Add license header, remove unnecessary variables.
gitupdate.py: Add license header and some code cleanup.
patchupdate.py: Improve output in case of errors.
patchutils.py: Silence output of patch commandline utility.