Renamed PN_{CONNECTION,SESSION,LINK}_{OPEN,CLOSE} to PN_{CONNECTION,SESSION,LINK}_LOCAL_{OPEN,CLOSE}

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1631542 13f79535-47bb-0310-9956-ffa450edef68
added dispatch code to event class

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1631543 13f79535-47bb-0310-9956-ffa450edef68
added engine examples for proton-j

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