safety fix: free parsed document if it's left in the parser context for some reason
restore properties and methods on iterparse objects that were lost in 3.3.0