Add preliminary debug stub.

The debug object in the turtle library will look for an "ide" object in the parent frame (if any), and it will use it to report debugging events of interest.  The first event to try is the "onerror" event.  Doesn't do much until the ide is hooked up.