adding converter
added codec to convert from Bar to MarketHistoricalSnapshot
fixed NULL type for size and price
Merge pull request #2 from barchart/yingjie-dev

Assuming that BarImpl is not functionally changed based on my review (difficult to see with whitespace changes thought), otherwise looks good.