Rewrite the addon to use the new addon SDK.

Adds a working proof-of-concept addon which blocks all pages per default.