Move db.go into database_sql.

As I will be adding more files related to this, it is better to keep
this code separated in its own directory.

Signed-off-by: Thiago Farina <tfarina@chromium.org>