Small fixes
Merge pull request #4 from terah/master

Exception bug, exception namespacing and allowing stdClass to populated with result sets