Bug 907077: Adapt addon SDK custom iterators to work with new for-of behavior r=rFobic