Fix RegExp deepEquals

This gist pretty much shows the issue: https://gist.github.com/lightcap/8823353.

This pull request should close cjohansen/Sinon.JS#392.