Accept multiple NaN representations (#656)

git-svn-id: http://svn.osgeo.org/geos/trunk@3910 5242fede-7e19-0410-aef8-94bd7d2200fb
Merge branch 'svn-trunk' of https://github.com/libgeos/libgeos into kdtree
Added Makefile.am for kdtree