actually check to see if the class defines the execute/exec_query methods

defined?(<symbol>) doesn't seem to do anything.
Merge pull request #21 from github/fix-execute-check

actually check to see if the class defines the execute/exec_query methods