Make the native check support Rhino. Close gh-185.

In Rhino, native functions do not display as just [native code],
but often with extra information, for example:

   js> Array.prototype.slice
   function slice() { [native code for Array.slice, arity=2] }