Making the extension bootstrapped

This is a work in progress, but it already works fairly well. Next step
is to fix the about: page registration so that it continues to work on
old mobile Firefox versions, and works on Android.