search: annotate leaf node ranges
Created by: rvantonder
Adds range annotations to leaf nodes (patterns, parameters). I'll add these for expressions later (need to do a refactor for that). The goal is to expose the parse tree via GQL and ranges is a useful value to attach to the data.