A connection error now returns the error
Fixed issue with DatabaseEngine types to string
The connection methods now take pointers to a DatabaseConnection structure