rtemstoolkit: Add version number parsing to get major, minor, revision.
Add support to return the major, minor or revision numbers as numbers.