Add beta AI functionality!

* Able to include AI's.
* Included AI: Test AI demonstrates features, (but plays really
stupidly).
* Rewrite trade functionality to allow interaction with AI.
* Add doctype to index.html
* Improve bankruptcy unmortgages dialogue.
* Lots of other minor bug fixes and improves.