Now with a working detail view - showing locations on a map.
Tidied things up, and added location route.

API routes are now separate.
Locking around DB writes and reties around reads.

Since sqlite is single connection only.
Changed some method names so they make more sense.
Added require js text loading.

Yay for externalised templates.
Now with dual format detailed view.
Added db dump mechanism, and a dump.
Added load-db behaviour