Fix class parameter not being evaluated.  Code was checking against [DTImageTextAttachment class].
Added missing check for nil value sent to enumeration block.
Merge pull request #452 from leehericks/lh_textAttachmentsWithPredicateFix

Fix class parameter not being evaluated.  Code was checking against [DTI...