More accurate brace context analysis.

* Replace thing-at-point-looking-at with custom function; We only want to test
  the preceding character and thing-at-point also returns t when there is a
  match AFTER point.

* Tweak expr-start tests to allow a custom character to represent point - allows
  testing against strings that include pipes.
Test tweaks