This refactors the checkTransactionStandard function, along with related constants, from the mempool to the policy.go file since it is strictly related to policy. In addition, it adds tests for the function which cover all code paths.
Calculate rate*fee first before dividing by 1000. Add more unit tests around the fee calculations.
No functional change. Add tests.