database: do not use commitlog constructor if there is no commitlog
database: do not use commitlog constructor if there is no commitlog

Tomek pointed out that we shouldn't be passing a reference to commitlog every
time we use the add_column_family interface, because that will at times pass a
reference to a null object.

Test that, and pass no_commitlog if there is none.

Signed-off-by: Glauber Costa <f8b79557d19b40666ebe336545a0b6178af65685@cloudius-systems.com>

rentongzhang/scylla,shaunstanislaus/scylla,rentongzhang/scylla,asias/scylla,scylladb/scylla,capturePointer/scylla,gwicke/scylla,respu/scylla,acbellini/scylla,raphaelsc/scylla,linearregression/scylla,scylladb/scylla,bowlofstew/scylla,avikivity/scylla,raphaelsc/scylla,senseb/scylla,dwdm/scylla,linearregression/scylla,victorbriz/scylla,guiquanz/scylla,raphaelsc/scylla,eklitzke/scylla,scylladb/scylla,wildinto/scylla,eklitzke/scylla,victorbriz/scylla,gwicke/scylla,glommer/scylla,tempbottle/scylla,scylladb/scylla,gwicke/scylla,aruanruan/scylla,wildinto/scylla,tempbottle/scylla,asias/scylla,rentongzhang/scylla,duarten/scylla,wildinto/scylla,tempbottle/scylla,kjniemi/scylla,aruanruan/scylla,stamhe/scylla,shaunstanislaus/scylla,guiquanz/scylla,stamhe/scylla,acbellini/scylla,rluta/scylla,kjniemi/scylla,kjniemi/scylla,phonkee/scylla,dwdm/scylla,bowlofstew/scylla,rluta/scylla,dwdm/scylla,guiquanz/scylla,acbellini/scylla,glommer/scylla,capturePointer/scylla,eklitzke/scylla,kangkot/scylla,bowlofstew/scylla,avikivity/scylla,shaunstanislaus/scylla,respu/scylla,asias/scylla,linearregression/scylla,justintung/scylla,avikivity/scylla,justintung/scylla,phonkee/scylla,rluta/scylla,senseb/scylla,duarten/scylla,victorbriz/scylla,kangkot/scylla,respu/scylla,senseb/scylla,phonkee/scylla,glommer/scylla,aruanruan/scylla,kangkot/scylla,justintung/scylla,stamhe/scylla,capturePointer/scylla,duarten/scylla