Make databse backend configurable

- Added victims.db.backend to configurable environment keys
- Supported backends are mapdb and sqldb
- Refactor code to abstract database calls and make per backend
  config/validation self containted
- Refactor database test case to test both backends