improved svn log parsing
optional parameter for dbg() for easier debugging
CountIf sqlite compatibility fixed