Implement Iterator interface on EmptyObject

Removes the need to check length on something returned by a $dom
selector - and ensures no weblog errors if you forget-to.