Fix bug where jedi:server-args is not setup before jedi:setup is run, refactor hooks, fix document and rename pungi-local-variables-hook to pungi-setup-jedi.