Removing rcov dependency for compatibility with ruby 1.9
Compatibility with Rails 3.2 (hook in exec_query as well as execute) and accept leading spaces in sql strings.