parse: refactor to make `greedy` and `raise` keyword arguments.
parse(str): the greedy flag doesn't really make much sense.
Merge pull request #4577 from JuliaLang/sk/parse

parse: refactor to make `greedy` and `raise` keyword arguments.