scimoz: split debugging defines into three levels

(integrated from trunk branch change f738a9d by Todd Whiteman <toddw@activestate.com>)
scimoz: keep in sync with ide branch