PROTON-814: only return error rc on a failed poll
PROTON-814: only return error rc on a failed poll

In posix pn_selector_select, if a poll() call returns result == -1 and
sets selector->error from the errno, any subsequent pn_selector_select
calls on the same selector will return have a return code of the
previously cached errno even if they succeed. Closes #6

gemmellr/qpid-proton-j,bozzzzo/qpid-proton,clemensv/qpid-proton,wprice/qpid-proton,jeckersb/Proton,datawire/qpid-proton,jeckersb/Proton,FlaPer87/qpid-proton,prestona/qpid-proton,dcristoloveanu/qpid-proton,FlaPer87/qpid-proton,prestona/qpid-proton,ChugR/qpid-proton,astitcher/qpid-proton,wprice/qpid-proton,clemensv/qpid-proton,jeckersb/Proton,gemmellr/qpid-proton-j,dcristoloveanu/qpid-proton,prestona/qpid-proton,RobertoMalatesta/qpid-proton,datawire/qpid-proton,Karm/qpid-proton,Azure/qpid-proton,prestona/qpid-proton,alanconway/qpid-proton,RobertoMalatesta/qpid-proton,prestona/qpid-proton,dcristoloveanu/qpid-proton,FlaPer87/qpid-proton,Azure/qpid-proton,FlaPer87/qpid-proton,FlaPer87/qpid-proton,alanconway/qpid-proton,bozzzzo/qpid-proton,bozzzzo/qpid-proton,RobertoMalatesta/qpid-proton,apache/qpid-proton,astitcher/qpid-proton,alanconway/qpid-proton,Karm/qpid-proton,bozzzzo/qpid-proton,kgiusti/qpid-proton,clemensv/qpid-proton,FlaPer87/qpid-proton,FlaPer87/qpid-proton,alanconway/qpid-proton,Karm/qpid-proton,apache/qpid-proton,wprice/qpid-proton,FlaPer87/qpid-proton,astitcher/qpid-proton,RobertoMalatesta/qpid-proton,wprice/qpid-proton,Azure/qpid-proton,RobertoMalatesta/qpid-proton,prestona/qpid-proton,Azure/qpid-proton,kgiusti/qpid-proton,kgiusti/qpid-proton,ssorj/qpid-proton,Azure/qpid-proton,gemmellr/qpid-proton,Azure/qpid-proton,datawire/qpid-proton,apache/qpid-proton,apache/qpid-proton,datawire/qpid-proton,alanconway/qpid-proton,datawire/qpid-proton,dcristoloveanu/qpid-proton,wprice/qpid-proton,jeckersb/Proton,apache/qpid-proton,ssorj/qpid-proton,apache/qpid-proton,kgiusti/qpid-proton,ChugR/qpid-proton,bozzzzo/qpid-proton,datawire/qpid-proton,FlaPer87/qpid-proton,datawire/qpid-proton,clemensv/qpid-proton,Karm/qpid-proton,alanconway/qpid-proton,gemmellr/qpid-proton,dcristoloveanu/qpid-proton,wprice/qpid-proton,ssorj/qpid-proton,wprice/qpid-proton,jeckersb/Proton,ssorj/qpid-proton,bozzzzo/qpid-proton,Azure/qpid-proton,dcristoloveanu/qpid-proton,Karm/qpid-proton,clemensv/qpid-proton,RobertoMalatesta/qpid-proton,datawire/qpid-proton,astitcher/qpid-proton,wprice/qpid-proton,Azure/qpid-proton,clemensv/qpid-proton,wprice/qpid-proton,clemensv/qpid-proton,bozzzzo/qpid-proton,ChugR/qpid-proton,dcristoloveanu/qpid-proton,dcristoloveanu/qpid-proton,dcristoloveanu/qpid-proton,jeckersb/Proton,wprice/qpid-proton,clemensv/qpid-proton,gemmellr/qpid-proton,Azure/qpid-proton,Karm/qpid-proton,RobertoMalatesta/qpid-proton,gemmellr/qpid-proton,jeckersb/Proton,jeckersb/Proton,datawire/qpid-proton,prestona/qpid-proton,prestona/qpid-proton,dcristoloveanu/qpid-proton,Karm/qpid-proton,gemmellr/qpid-proton,RobertoMalatesta/qpid-proton,jeckersb/Proton,Karm/qpid-proton,jeckersb/Proton,dcristoloveanu/qpid-proton,dcristoloveanu/qpid-proton,prestona/qpid-proton,datawire/qpid-proton,astitcher/qpid-proton,Karm/qpid-proton,clemensv/qpid-proton,datawire/qpid-proton,bozzzzo/qpid-proton,prestona/qpid-proton,jeckersb/Proton,ssorj/qpid-proton,astitcher/qpid-proton,wprice/qpid-proton,bozzzzo/qpid-proton,prestona/qpid-proton,RobertoMalatesta/qpid-proton,Karm/qpid-proton,ChugR/qpid-proton,clemensv/qpid-proton,datawire/qpid-proton,clemensv/qpid-proton,bozzzzo/qpid-proton,FlaPer87/qpid-proton,jeckersb/Proton,kgiusti/qpid-proton,Azure/qpid-proton,ChugR/qpid-proton,ssorj/qpid-proton,bozzzzo/qpid-proton,Azure/qpid-proton,prestona/qpid-proton,ChugR/qpid-proton,RobertoMalatesta/qpid-proton,Karm/qpid-proton,gemmellr/qpid-proton,Karm/qpid-proton,FlaPer87/qpid-proton,RobertoMalatesta/qpid-proton,kgiusti/qpid-proton,FlaPer87/qpid-proton