views: return exception error from lookupId, addToken

Catch the exception and return the exception string in lookupId and
addToken, instead of crafting a custom error string.

Signed-off-by: Ashok Gautam <ScriptDevil@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
views: respond with GeoJSON (#3)

GeoJSON[1] is the standard way of representing geo entries.

Each location has a type: Feature and an associated id and properties
list.

[1] http://www.geojson.org/geojson-spec.html

Helped-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Ashok Gautam <ScriptDevil@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>