Fix an edge case in the msg_size test.  Tweak the cloudi_c Python/C++ CloudI API exception handling to make errors simpler in Python 3.