Improve pass/fail indication in grunt output

Intern's grunt task now considers additional types of pass/fail message
when classifying task output. It also considers individual lines rather
than marking entire chunks of output.