Preventing some exceptions when calling into Ruby.
Sending and parsing the object IDs correctly.
Now sending back just an array of methods, not a hash.
Fixed the parsing of the object IDs to make sure they are converted to integers.
Fixed some problems getting a window from a ScriptState. Now we mark the binding and window so they don't get garbage collected.