emacs groovy addition to get package names from files and add imports etc.