settings: Catch exceptions from JSON.parse in readPermalink()
settings: Catch exceptions from JSON.parse in readPermalink()

All internally made permalinks are valid JSON, but on-wiki templates
may construct custom settings directly. As well as manual crafting.

In such scenario the interface froze (because 'readPermalink is called
before 'bindInterface' which is then never reached).

Krinkle/mw-gadget-rtrc