* port kvstore from nim-beacon-chain * remove old database backends * use kvstore in trie database * add sqlite dep * avoid template param double evaluation * clean up heterogenous lookup todo