Yingjie dev

added codec to convert from MarketHistoricalSnapshot to Bar. This change depends on the new version of openfeed-protocol-java.