Added start/end place id to trips table and storing them when trip is ended.
Fixed bug in finding nearest place when no places exist.