[issue-95] Handle existing bad osgi versions in the repo

If there is a version in the repo already that looks like 1.2-redhat-1 or
1.2.redhat-1, the next osgi compat version increment should be 1.2.0.redhat-2
[issue-95] Test for major only base version

Check that the osgi version update will work for a version like "2".