Safari extension

This gets the extension working in Safari. I'm not sure I have the update manifest stuff entered correctly, so I need to test that yet. I'll probably merge this soon and make any necessary tweaks in separate pulls.