Moved emacs script to a proper script.

For now, I've dumped it in `resources/'. That'll probably change
soon-ish.