Fixed bug in update.

Had to add the "!" so that the error message was not printed even
when no error was found.
Added closeing functions to the db_driver.

Implemented it for the sql driver.
Fixed so that close does something.
Implemented close.
Added close to DB.
Forgot to also reset all smart pointers.
Getting all tag for a FoodItem id will be easy.