Removed a use of PHP_SELF, per StackOverflow

There seems to be general consensus that this is just a bad idea.

At some point, we should go through and remove this more generally.
Renamed atlantian_op to kingdom_op

Also, removed the interim eastern_op page, which is a broken branch.

Also, debugged a few SQL statements.

Also, added the KINGDOM_ID identifier in defines, for use in SQL.  This
identifies the "primary" Kingdom.