fix parsing throws

CommentParser.php: formatThrows returns message, not reason
Merge pull request #335 from michabbb/patch-1

Improves Resources class to make use of @throws comment