Fixed count for SQLite and so. Fix #1
Removed debug code.
Made pdoStatement null after get is called. Fix #2
Fixed before-* Query Events bug when fired multiple times. Fix #4
Bug fix, unset select statement on count if there were none.