Fixed NameError in find_by_cls
Fix iteration error in find_by_dt/cls, and changed API slightly
Rewrite find_by_cls/dt methods to use iteritems
Merge pull request #5 from bluepeppers/find_fixes

Fix errors in find_by_dt/find_by_cls