Added TraceLogger to get backtrace for executed queries

Added a TraceLogger that returns a backtrace for the executed query.
The backtrace returns the last 10 frames, and it also formats the frames for easy reading
Well yeah, but if you attach this to the Symfony toolbar f.e, then it will slow down your page with each request, and it will keep the entire stacktrace where you are only interested in parts of the trace