Mark jobs as completed when all processes have finished, not just the last one.
Fixes https://github.com/fish-shell/fish-shell/issues/876 , and coincidentally also https://github.com/fish-shell/fish-shell/issues/848
Fix for incorrect use of shared ptr references
Cleanup of code that decides whether or not to fork. Fix for issue where stderr may be output twice.
Added completions for Vagrant
Portmaster completions

* Added FreeBSD's pkg to __fish_print_packages
* Portmaster completes on installed packages and ports
* Options list as per fish_generate_completions, needs to be tidied
  up further but will suffice for now
Merge remote-tracking branch 'upstream/master'