Add support for storing settings in localStorage

This commit adds an option to store jscut settings in the browser local
storage.