Rewrote SQL handling using mysqli.
CHANGES:

* Fixed a lot of warnings.
* Fixed missing definition for AVAPATH in domaindefinitions.php.
Added code to safeupdate and safeinsert to wrap field names
in backticks because some of the table fields are SQL keywords.
Disabled some debugging.
CHANGES:
* Fixed a bug where last post info wasn't getting updated.
* Turned down debugging a little more.
Replaced a lot of absolute URLs with relative URLs.
Fixed a bunch more mysqli query bugs.
Fixed a relative path bug.
Commented out a bogus table in a mysqli query.
Fixed configuration problem that made it look like no one
was online.
PHP warning cleanup.
More redundant constructor cleanup.
More fixes for PHP 3.4 strict conformance.

Conflicts:
	inc/classes/page.php
Still more strict PHP conformance fixes.

Conflicts:
	index.php
Fix for typo in previous PHP strict conformance fixes.
Fix bug where Safari downloads HTML files to disk.
Switched back to default theme.