Add redmine/gitlab/trac/gerrit db support