Updated the geometryToBinary method to check to see if the Z coordinate is NaN.  If it is NaN, this indicated that our coordinates are 2-dimensional.  Otherwise, our coordinates are 3-dimensional.
Added unit tests for 2D and 3D conversion to binary using the GeometryUtils class. Also, applied code formatter/cleanup to code.
Merge pull request #20 from ngageoint/GEOWAVE-9

Geowave 9 - looks good to me