Problem: need to signal to zproto when using generated header

Otherwise zproto regenerates typedefs for opaque types, in message
and client codecs.

Solution: define macro when defining typedefs. Needs matching change
in zproto.
Merge pull request #17 from hintjens/master

Problem: need to signal to zproto when using generated header