Separate default config values from background.js

Not complete - various parts of background.js need refactoring, and
options.js also needs to be edited.