scm: cvs: add methods of getting cvs version and add unit lib test (#4273).
Authored by: tmaruyama 2011-02-15
Parent: [r4831]
Child: [r4833]