Make the pageid argument accept strings

PageID can be in string form too.
Improve general quality of code and bug fixes.

This update resolves some major issues with the code, and removes an
unneeded function.
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.
Further fixes to user class

* Doc fixes
* Undefined variables/methods
Existence is not a pre-requisite for blocking an IP address
Fix caching of User::blocked
Merge pull request #68 from Jarry1250/blocking

Further fixes to User class
Allow for rangeblocks in block() via $range parameter
Followup previous: tidy range condition
Change error condition for returning false

Previous condition does not capture "alreadyblocked" error as API
still returns the details of a block, like it does on success. The
API distinguishes by setting an error parameter, so we should just
check for that.
Merge pull request #70 from Jarry1250/blocking2

Allow for rangeblocks in block() via $range parameter
Force Token Refresh on a badtoken error

This update allows Peachy to force refresh the tokens it has cached and
reattempt a failed API query with the new token.
Alpha 8 release

This update introduces a major change to the configuration of Peachy.
Assert controls can be added to login configuration files
Configuration variables have been renamed.  Users must change the config
file to maintain preferences.
Peachy can now automatically log back in after being logged out.
Fixed a critical bug that would prevent login.

Fixes a syntax error in the Exceptions class as well as a logic error
that would result in an exception being thrown upon login, or would
cause an infinite login loop.
Merge pull request #73 from MW-Peachy/master

Merge to stable