Fix for #15 - persist extension settings in the localStorage

We can store settings checkbox values in the localStorage as soon as they change, and restore them on startup.