RUBY-698 compile and from_native methods added to MongoRegexp with tests