Added toArray() to the Geometry interface
Refactored WKT tests
Added a pretty-print option to WKTWriter