Javadoc
Creates a string satisfying
#isGoodBrooklynVersion(String) based on the input.
For input satisfying
#isGoodBrooklynVersion(String) the input will be returned unchanged.
For input satisfying
#isValidOsgiVersion(String) the qualifier separator will be changed to "-",
and
#toValidOsgiVersion(String) can be used to reverse the input (modulo insertion of "0"'s for minor/patch numbers if missing).
Precise behaviour for other input is not guaranteed but callers can expect output which resembles the input,
with any major/minor/patch string at the front preserved and internal contiguous alphanumeric sequences preserved.