optimize: fixing SampleRankExample to work in the case when there is more than one proposal with the best objective score
Merge branch 'samplerank' of https://github.com/alextp/factorie