(In [2420]) fixes #1457 - remove E_EXCEPTION (couldn't find any documentation for this as a predefined PHP constant)
refs #998 - merge upgrade.php and common.php so json_decode() is available to Tracker plugins; sync up with -17 release of upgradephp