dataaccess: Add support for new helper methods.

This adds support for getting error information as well as insert ID
and executed query to the query result classes.