Added querylog for sql benchmarking
Changed blocklog to use new dao context
Minor cleanup of gamemagic