Layer selector: Cleanup, and focus layers.json for testing, and 

Cleanup:
* DRY up creation of UI "zoom" buttons

Focus layers.json for testing:
* Simplify layers.json
* Add error cases
* Allow comments in JSON (strip before parsing)
* Add comments to layers.json