Refactor setup of transaction metrics
Setup of transaction-reladet metrics is currently done in multiple locations, making it harder than necessary to add new metrics or change existing ones. This MR improves the situation by moving all metrics either into the transaction manager or into the coordinator exclusively. They are then exposed for registration by implementing the Collector interface and registering the component directly.