PROTON-2430: Add better error checking to pn_msgid_t typemap
PROTON-2430: Add better error checking to pn_msgid_t typemap

Also allow some illegal id types for interop with broken ruby binding

gemmellr/qpid-proton,astitcher/qpid-proton,gemmellr/qpid-proton,astitcher/qpid-proton,apache/qpid-proton,astitcher/qpid-proton,astitcher/qpid-proton,gemmellr/qpid-proton,gemmellr/qpid-proton,apache/qpid-proton,apache/qpid-proton,apache/qpid-proton,astitcher/qpid-proton,apache/qpid-proton,gemmellr/qpid-proton,gemmellr/qpid-proton,astitcher/qpid-proton,apache/qpid-proton