Move settings to local storage, control via options page

This pull request moves the user configurable options into local storage and makes them modifiable via an extension options page. This builds on top of the earlier pull request that cleaned up the merge artefacts that had crept into the background.js file.

Successfully tested on Ubuntu 13.10 using Chrome Version 32.0.1700.102.