Add to DB Button

Added an ‘Add to DB’ button on the tester.html output table. Does not
do anything yet.
Added auto region functionality. It is now possible to define the
number of columns and rows you want and create regions sized to those
conditions.

Ability to choose between miles and km also added.

Minor: Clear Grid now called before creating a grid