fixed wrong "this" in parsedir(), fixed #242

yuidoc did not worked from grunt-contrib-yuidoc die to wrong "this" in each() callbacks. Replaced them with "var self=this"

Error log is in issue #242