Upgrade Framework

An if statement checks whether the silencer upgrade has been purchased
AND if it has not already been applied and if this is true then it
applies the upgrade. This can be easily copied and pasted for the other
upgrades.