Pull updates to Xml class from MediaWiki

Restricted to changes which do not introduce new dependencies:
 * code style
 * code cleanup
 * documentation improvements

+header.
Merge pull request #61 from Jarry1250/xmlupdate

Pull updates to Xml class from MediaWiki git repo
Some updates and fixes.

Move preEditChecks function to the Wiki class and make it a public
function.
Redirect preEditChecks from Image, User, and Page classes to the Wiki
class.
Some bug fixes pointed out by Scrutinizer.
Remove unneeded junk

This stuff is old and not even a part of the Peachy engine.  Clear the
clutter out.
Some more old stuff that's no longer needed.

Delete some more old stuff.
This isn't needed either

Delete this too.
Cleanup tests stuff
Make sure we always have the correct GET/POST in curl
Remove unused method from AutoUpdate
Fix PHPdoc and remove unused in RFA
Remove another unused function.

This was a prototype function from the initial creation of this class.  It's not needed any more.
Put the constructor at the top of RFA
Delete Scripts

Scripts are totally useless.  Documentation help should be in
documentation.
Change the structure of the tests folder
Tidy up comments in Page.php
Delete unnecessary script

No sample scripts are needed.  A documentation wiki will be provided to
assist the user.
Expand Page construction tests
Add tests for bad contruction of Page object
Update Tester

Update what the Checkforupdate test covers.
Update AutoUpdateTest.php