Firefox addon sdk

Supersedes PR #45, same work but rebased to A) merge cleanly with devel and B) not include python bytecode. Also includes python fix so this compiles on systems with Python 3 as the default interpreter (somebody should re-check Windows before merging, it works for my Linux setup).