Fix the RegExp constructor.

When called as a function, the RegExp constructor did not
work properly. This commit makes it instantiate itself
when called as a function.
Merge pull request #114 from SBSTP/regexp-constructor-2

Fix the RegExp constructor.