Added global upgrade array and default player object. Fixes #48
Removed addUpgrade functions, intergrated those with json loader.