Adapt for code from toolserver to wmflabs

Mostly use redis for ipc, and pywikibot instead  of pywikipedia.

Use a web front in python rather than php.