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.
Merge pull request #182 from PiRSquared17/patch-6

AllPages API fix for old MediaWiki versions