Calculate average transactions per second

Use OnTxAccepted notifications to track the count of transactions that get
accepted in the memory pool. Also save the time of the first and last
transactions in order to calculate the average transactions per second by
dividing transaction count by the difference of time between first and
last transaction.