Install / Upgrade Fixes

Updates the minimum to postgre 8.3 and mysql 5.0.19, honestly those have some loose grounding on why, but I really think we need to start somewhere, and both of those are still 8 years old so I don't think we are asking for much.

This adds back some of the globals that are needed, as expected.  It was easier to remove them and add back whats needed! ... Some are used in evals, others are needed in the subs that are called and expect them to be loaded.

Fixed a couple of db upgrade errors, not that the upgrade works correctly but at least it runs and give poor results now :dancers:

Tweaked a couple of formatting things.

 Added one hack, sorry had to