Easily run tests in a virtualenv with tox and nose

tox is a nice wrapper around virtualenv. It setup a new env that makes
sure you have a clean install without any module beside the standard
one. If you need more modules, simply add them to 'deps =' and tox will
install them from pypi.

nose makes testing easier, it find any files that looks like a test and
run them for you.

The envs are created in /.tox so ignore that directory entirely.
Encode title using UTF-8 before printing

This fixes #170 and closes #174.
Merge pull request #178 from PiRSquared17/patch-1

Encode title using UTF-8 before printing
Get as much information from siteinfo as possible

Properly fixes #74.

Algorithm:
1. Try all siteinfo props. If this gives an error, continue. Otherwise, stop.
2. Try MediaWiki 1.11-1.12 siteinfo props. If this gives an error, continue. Otherwise, stop.
3. Try minimal siteinfo props. Stop.
Not using sishowalldb=1 to avoid possible error (by default), since this data is of little use anyway.
Try getting index.php from siteinfo API

Fixes #49
Merge pull request #137 from hashar/tests-with-tox-and-nose

Easily run tests in a virtualenv with tox and nose
Merge pull request #181 from PiRSquared17/patch-4

Try getting index.php from siteinfo API
AllPages API hack for old versions of MediaWiki

New API format: http://www.mediawiki.org/w/api.php?action=query&list=allpages&apnamespace=0&apfrom=!&format=json&aplimit=500
Old API format: http://wiki.damirsystems.com/api.php?action=query&list=allpages&apnamespace=0&apfrom=!&format=json
Dict not hashable, also not needed

Quick fix.
Retry on ConnectionError in getXMLPageCore

Previously it just gave a fatal error.
Merge pull request #182 from PiRSquared17/patch-6

AllPages API fix for old MediaWiki versions
Merge pull request #180 from PiRSquared17/patch-2

Get as much information from siteinfo as possible
Add PiRSquared17 to credits
Merge pull request #183 from PiRSquared17/patch-7

Retry on ConnectionError in getXMLPageCore