Update for Peachy 2.0 (alpha 7)

Updated editcount function.  No longer uses the Database class.  A
mysqli object must be passed to get DB results.

General fixes and improvements to code quality of the Xml plugin.

Removed outdated and old DB plugin.