Handle errors returned by SQLMoreResults
Handle error returned by moreResultsSync()

Handle error returned by moreResultsSync() in Database.query. Return the
error as a separate result set.
Fixup pull request for issue #54

Added test for the issue which is lacking assertions
ThrowException instead of returning the error object
Keep looping and emitting errors if encountered when calling moreResultsSync()