Revert "Fix parsing return values for zero parts, and allow zero when len(part) == 1"

This reverts commit fd83e1645ff031b89315ab0fcab1883db066a3e1.
Revert "Send nice error when version number is out of range"

This reverts commit f4151cb7443a463d71b5e7f1b9071fc4369bebe5.
Revert "Use strconv and strings to parse version string."

This reverts commit 517a7be269e94c90e959245f2fa56b25c1e6517e.
Check for integer overflow in parseVersionPart