Added PregMatchAllOptimizer.

Signed-off-by: Rack Lin <racklin@gmail.com>
Added PregMatchAllOptimizer. And PregMatchOptimizer with flags and offset parameters, fallback to PHP userland preg_match function.

Signed-off-by: Rack Lin <racklin@gmail.com>
Added more tests for preg_match .

Signed-off-by: Rack Lin <racklin@gmail.com>
Merge pull request #93 from racklin/enhancement/pregmatchall

Added PregMatchAllOptimizer and PregMatchOptimizer supports fallback to PHP userland function.