Refactoring of gatherCandidate, addCandidate, and disambiguateCandidate functions.      This patch cleans up code involved in gatherCandidates, addCandidate, and disambiguateCandidateByMatch.  Variable and functions are re-named so that their use is clearer, several data structures are wrapped up inside a signle class, and functionality is broken out into several different functions.
Refactoring of gatherCandidate, addCandidate, and disambiguateCandidate functions.
    
This patch cleans up code involved in gatherCandidates, addCandidate, and
disambiguateCandidateByMatch.  Variable and functions are re-named so that
their use is clearer, several data structures are wrapped up inside a signle
class, and functionality is broken out into several different functions.

Reviewed by Tom Hildebrandt.


git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@22421 3a8e244f-b0f2-452b-bcba-4c88e055c3ca

hildeth/chapel,hildeth/chapel,chizarlicious/chapel,chizarlicious/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,chizarlicious/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,sungeunchoi/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,chizarlicious/chapel,hildeth/chapel,chizarlicious/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,hildeth/chapel,hildeth/chapel,CoryMcCartan/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,CoryMcCartan/chapel,hildeth/chapel,hildeth/chapel