Return valid feature col if no rows returned.

The GeoJSON is now built in Python instead of direct in SQL which gives
more control over formatting and allows the SQL to be more generic which
may help with adding other formats in future
Ensure the Content-Type is correct for JSON and JSONP output
Merge branch 'master' of https://github.com/AstunTechnology/planning-hub