Don't suggest after | & or in comments

Fixes #1631
Clean up variable expansion, and properly handle embedded NULs
Make `commandline -P` actually work

`commandline --paging-mode` worked but the short flags list accidentally
omitted the documented `-P`.
Merge branch 'master' of github.com:fish-shell/fish-shell into pt-translation