fixed logging handler
workaround for #40

sqlalchemy was supposed to take care of stuff like this, further investigation
is required to find a long term solution.
Merge branch 'master' of git://github.com/glastopf/glastopf

Conflicts:
	modules/reporting/main/log_sql.py