remove six dependency
block.to_dct make  state and txs optional
add transaction index
rm: migration code
unknown block numbers are not in_main_branch
add: api provide blocks by hash, id, head
add: api provide txs by hash
redirect PUT tx to tx view
add: list pending tx
add: support for block and tx retrieval