Reset preferences baseURI and rootURI when add-on was built by cfx.

Initialize myTitle for self.title or metadata.title when available.