Revert "* bunch of fixed to APIDoc (finally compiling again)"

This reverts commit 26ce48023874a41e054b03c43fd4422ef79e40b4.
Revert "* bunch of fixed to APIDoc (still broken, needs more work)"

This reverts commit fec6a743f77976bdc3c155c7f9d2a890226becca.

Conflicts:
	imdb_person_search.class.php
	mdb_base.class.php
	mdb_config.class.php
Tidy up phpdocs
Protect debug code, properly arrange mdb_base