Bugfix pointInPolygon

Without "$this" it throws an "Call to undefined function pointOnVertex()" Fatal error
Use array_unshift() instead of direct access for getting first value.

If passing an array containing a single geometry keyed by something other than 0 count will return 1 but the recursive call to geometryReduce will receive NULL.
Altered getDataString in the wkt adapter to trim off all text until the first parenthesis so that 3d wkt doesn't break without geos
Removed $type parameter from getDataString in wkt adapter.
Update composer.json

Added autoload, @phayes, please, go to packagist.org and add this package to index, thanks.
Merge pull request #81 from andrewtch/patch-1

Update composer.json
Merge pull request #75 from tillz/patch-1

Bugfix pointInPolygon
Merge pull request #76 from tnightingale/patch-1

Use array_unshift() instead of direct access for getting first value.
Using array_shift instead of array_unshpift to get the first value
Merge pull request #80 from dstelljes/master

Support for line breaks between KML coordinate tuples
Merge pull request #79 from GJdan/3d-wkt-fix

Bugfix - 3d WKT is incorrectly trimmed trigguring exception in Point constructor
Merge pull request #78 from mprins/master

quick fix for GeoJSON adapter