Implements distance #296
Add "Return distance" in query parameters. Including Web UI and RESTFul
API.