tool to build SmartOS changelog

Ugly as sin, but it even works in a Mountain Gorilla checkout where origin is in the cache directory and don't have the other branches visible...
Style nit, the operator should be on the previous line when doing a continuation. Apologies these aren't written more obviously somewhere, it's a mimic C style thing.