Generic config for databases and adding solr a different way in travis