Using `select 1` for contains query tells sqlite not to actually load the data for simple contains queries
* 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