Added support for creating RegExp with NanNew. Made a test.