Polyline Gaps

For #2136.

CC @shunter @mramato 
Probably should also add tests directly using `CesiumMath.equalsEpsilon`, much like the specs added for `Cartesian2`, etc.