Add support for declaring 'throws' clauses.

Closes #12.
Merge pull request #14 from square/jw/throws

Add support for declaring 'throws' clauses.