Split toGeoJSON() array building into getGeoArray()

toGeoJSON() now just run json_encode() on the array output.
This means you can get the array to push into another GeoJSON array
before encoding, and avoid decoding just to reencode.
Merge pull request #8 from ushahidi/simplify-getgeojson

Split toGeoJSON into 2 functions