Cleaning up the code 1

Got rid of redicthandler and simplified some other things (e.g.
get_text() to avoid duplication of code in WikiHandler and EditHandler.
Introduced 'referer'.