Fix TaxRate::getAmount(), add test coverage.
Add the TaxType repository.