Lookahead support for static regex aka ctRegex

This adds support for lookahead in ctRegex codegen.
Also enables a slice of lookahead-specific tests from the full testsuite.


P.S. This adds a couple of commits on  top of pull #1464.