Added complete:query event when a query is made.

Issue #23
Option for keepOpen.

Issue #22
Merge pull request #24 from firstandthird/feature/issue-22-23

Feature/issue 22 23