WRDR-46 - Introduce AbstractMarkToMarketPnLFunction

Allows subclasses to decide how to calculate the reference price.