[PLT-431] Added tests with FX reset swap. Move a inner class of PresentValueDiscountingCalculator to a util class and reuse it in CurrencyExposure.
[PLT-431] Clean equal methods.