Fix debug formatting for string query results

Closes #720
Revamp *_TABLE debug formatting

Adds an HTML table with anchored headers, as well as CSV, TSV, and text
copies. Clicking on the CSV, TSV, or text will select it to make for
easy copying.

Ref #720
Tweak a table header background
Style tweaks to the GQL test page
Style the GQL debug form
Improve styling of the navbar

* Local / Beta / Staging now shown next to the application title in an
  appropriate colour.

* Decluttered the navigation by moving items to subnavs.
Further *_TABLE display improvements

* Link to converter when displaying the key.
* Make the columns sortable.
* Better formating of numeric values.
Fix "sorted" table header backgrounds
Fix v-alignment of "brand" title in the navbar
Improve styling of the scenario drop-down fields

Changed them to match the dark-grey of the search field, and moved to
the right of the navbar. The search field width has been reduced, and
will be returned to it's normal size when active.
Small style tweaks for Firefox
Support for scaling areas

Adds support for reducing the size of an area proportionally, according
to one area attribute. For example, the Netherlands has 7.3M residences;
you may wish to scale down the area to only 50,000 residences, to
simulate a mid-sized city.

All attributes within the area are reduced in proportion to the main
attribute, but edge shares and slot conversions are preserved. Input
min, max, and default values are also adjusted as appropriate.

Ref #712
Scenarios based on another retain the scaling

Ensures that creating a new scenario based on a preset, or another
scenario, copy the ScenarioScaling values as necessary.