Added gettxfee JSON function to help estimate what the fee will be for a given transaction before it is committed to the network.