Move the definition of the colors outside the hook

This is so other parts of the code can use it too.
Remove some shortcuts which should not be there
Add edit server package to support chrome extention

The chrome extention 'edit with emacs' needs a server part to talk
to. Start this edit server so the extention can work properly.