Add "The defined? keyword for ivars" spec

Back-ported from opal/opal