Big Order ID Refactor
* CAREFUL: This commit has potential to be very disruptive.
Deploy with extreme care and log tailing.
* All current gateways and batch operations have been handled.
* Had to alter static function getGlobal. Interior staticness
didn't play nicely with phpunit.
* Amazon is a mutant. However, it seems to work... so we should
un-mutant it in a different monster patch.
* Need to come up with a new way to structure our tests.
Preferably something that doesn't make poking both of my own eyes
out sound like more fun than writing new tests.

Change-Id: I6eab4b470c0a123fc1146d30e24a7206d353fd5b