John/make postgres las optional

These changes are to the build options:

* Made postgresql and las both optional
* Build now generates library
* Added separate TestGeoJSON application