Firefox addon sdk

Supersedes Pull #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 Linux (somebody should recheck Windows before merging).