Updated regex redirect checker to execute within PHP rather than inside the Database.

This resolves the issue regarding regex statements and 404 pages not loading
Merge pull request #27 from Adido/modxcmsDevelop

Updated regex redirect checker.