Added blocked based enumeration methods that can be stopped

Added 2 methods that provide the enumeration pattern similar to that of `NSArray`s blocked based enumeration. This then allows the enumeration to be stopped whenever needed. This is useful if you only want the first element in the XPath query.