parser: Fix glob parser function, add some code for :edit
printer/tests: Add some :edit tests, use glob AST when printing

Unless using glob AST it is impossible to distinguish between glob parsed as
shell call and glob parsed as a literal string.