Add equality comparison method to CurrencyPair

`CurrencyPair` should have an equality comparison method.