[emacs] Add sylvia:--get-relevant-boundaries
[emacs] Add sylvia:--get-relevant-boundaries

Move some duplicated code out of the echo-region and echo-point
functions and into a new function. This is needed for improvemnts to
the regex query function.

bgutter/sylvia