ace.require : return `dynamic` + test case

In the proxy setting, this will always return a JsObject.  But we want
to type this as `dynamic` to support a future pure - dart
implementation.  Ace modules are very dynamic so the return value cannot
be typed further.