don't set an error for PN_OVERFLOW, this fixes PROTON-336, also fixed error accessors to be consistent

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1516184 13f79535-47bb-0310-9956-ffa450edef68