added -n option for running multiple iterations; useful in debugging intermittent failures

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1516484 13f79535-47bb-0310-9956-ffa450edef68
made logging use consistent ids

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1516485 13f79535-47bb-0310-9956-ffa450edef68
fixed java driver stall; fixed java messenger to clean up the driver after stopping; added useful illegal state exceptions to the java messenger impl

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1516495 13f79535-47bb-0310-9956-ffa450edef68
PROTON-58: throw illegal state instead of NPE

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