Improve the way logging is done and adds profiling to it. See #133
spaces to tabs
Improved logging.
Added some test for the logging.
Sometimes this test takes a little bit longer
Merge branch 'gh133-profiling' of github.com:greut/php-activerecord into gh133-profiling
Make the logged SQL look like the real query.