Create enum BcDbWriteOp and use it for all write operations in blockchain DB

We need this for #191