Added ability to insert locations into database.

Locations received from Broadcasts are now inserted into the database under currently tracking run. If no run is tracking, the received locations are ignored.