more autocompletion tweaks

- Get new completions on insertion of a '/' (for directories)
- Get new completions on insertion of '(' (for functions)
- Allow dashes in selections (mainly for e.g. ?"package-foo" style
  completions)