Mark @Duplicated to TransactionBlock and PipelineBlock related classes / methods

We did agree to remove TransactionBlock and PipelineBlock talked on #498.
And we introduced semver, those will be removed to next major release. (breaking backward compatibility)

Since those methods/classes are not marked to @Duplicated, I did it and request to merge.
And remove all unit tests using TransactionBlock and PipelineBlock.