dataaccess: Make our mysqli mocks compatible with phpunit.
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.
dataaccess: Log database query errors.
gravity: Rename DataAccess => Gravity and restructure namespace.
DataAccess: add SQLiteConnection class