Add plugin-dir to config file and look for plugins relative to it

This adds plugin-dir to the config file and looks up plugins relative to it. It doesn't make a big difference in any current gitit code, but I'm helps with a plugin I'm writing called External (sorry for the separate pull request if that's not the normal way to do them).