Generate completed packages correctly

When 'java.' was typed, no packages were generated.
Add hook functions for neocomplete
Save cache of package list at setup