Firefox XPI built based on Addon SDK

To fix issues introduced by this change, this PR also includes changes to generate a list of target site match patterns for all platforms.