Run goimports

Separated stdlib imports from other imports.
t.Fatalf(err.Error()) -> t.Fatal(err)
Fix nil panic in postgresql/result.go

SQL errors from CursorQuery() were unhandled in Next(). Caused nil panic when using Collection.One and db.Cond was invalid. Fixed by handling errors.