option loading and saving #8

fixes errors in options.html, adds handlers in background js, adds
handlers to load and save options in options js.
Programatically generated stuff is pending to be implemented.