General cleanup and remove patch zips and xsupdates immediately

- Fixed mix of spaces and tabs as indentation
- Replaced backticks by $()
- Enclosed variables in strings by ${}
- Delete patch zips and xsupdate as soon as they're no longer necessary to avoid filling up dom0's disk