enable ctRegex tests, fix 3 latent bugs

Bad codegen for Backreferences,
wrong trackers used for nested infinite loops
and even wrong code for '.'