Add support for executing Python code along with SQL for csv gen

Contains a general refactor to make things slightly objecty.
Everything is now picked up from the conf file, nothing hard coded

Also has a python script that provides a graph of user's mobile
upload count and general edit count. It needs to be a python
script instead of just SQL because it pulls in data from two
different databases on two different hosts.

Change-Id: If5d3b2f53dac5071738b4fee2162346d64cae409