db_cassandra: return 0 in case of successful operations

- following better DB APIv1 convention and avoiding inappropriate
  failure detection in some modules
- reported and patch by Jay Binks

(cherry picked from commit f475f2886f37b2a9cb5782ef1f5b9a6e94cee4dc)