Beginnings of setting user preferences, allowing autopass setting

This continues to address #101 and begins to address #142.

There are no QUnit tests in place, and I anticipate that the code will be fragile. However, it seems to work.

I propose that this pull request be accepted as long as there are no major objections, and then that @cgolubi1 takes over from here.