Access (XUL) preferences via new prefstore proxy.
Add localStorage-based preferences system
Initialize XulPrefstore in geierlein.js

Otherwise the prefstore is initialized too late.  Especially for
the resetForm call on startup.
Wrap test for localStorage in try/catch.

Otherwise an exception is thrown in XUL environment.
Merge branch 'wip-prefstore'