XD-954: Provide code completion for the simple cases
Wire completion provider to the REST layer and Shell
Fix trailing space handling
WIP
Added parser recovery logic
WIP generalize
Generalize provider logic = recoveries | expansions