Add support for deprecated messages

When using the deprecated option on a message, we compile a class-level
`deprecated?` method.

See #212 and #211.