allow severity of dynamic require to be controlled

I think being able to control the severity of the validation for a dynamic require is critical for Opal adoption. There are paths in the code I've guarded against Opal getting to at runtime, but it has to be possible to tell the parser not to worry about them.