3.0 - Using a simple string interpolation routine in QueryLogger

The idea is to try to not depend on the String library inside Database lib.
Not using String::insert() would also make @markstory happy