Added a bunch of stuff

- Date forms for picking start/end dates
- Distance/speed functions for calculating distance
- Reverse geocoding function for working out addresses
- Updated SQL code