Changed documentation of MatchResidueByGlobalAln and MatchResidueByLocalAln and added unit tests, fixed a few minor bugs in _MatchResidueByAln.