large bunch of changes for logging
remove duplication
Rename LogHelper to Logger
logclass updates
Kill a bit of mysql_*
Kill mysql_* completely.
Tweaks to OAuth handling
fix #93 - implement query logging.
Add indexes to the log table
Merge branch 'master' of https://github.com/enwikipedia-acc/waca