REGEXP Function

I have added a REGEXP comparison function. Since Doctrine 2 will not allow for a custom operator, such as REGEXP in MySQL, I have added it a comparison function that returns 0 or 1 instead. This will allow it to be used any place a custom DQL function can be used.

Please let me know if you have any questions about it.