Added handling of flag newest_tag for mercurial and cvs
code refactorization
Docs for flag newest_tag
Small fixes in mercurial handler
handling empty dir checkout, change name of param from *_mask to *_prefix
Whitespace.
Refactored version_sorted a bit and added tests for it.
Refactored slightly.
Different wording.