fix #10870: describe FS upload configuration
Fix OMERO version number generation

- Fix a bug in the server upgrade page where the previous version number was
calculated to 5.-1
- Correctly parse the version numbers using semver.org conventions
- Define list of previous minor versions for each major version
- Do not import the re module globally
act on Helen's suggestions, clarify titles, handle end-of-files
Restore use of the environment variable as the release number
act on Jean-Marie's points
Add explanations for the hard-coded get_previous_version function

Also wrap the error in an Exception() when previous version is undefined
Use tuples rather than lists
Merge pull request #366 from sbesson/version

Fix OMERO version number generation
act on Helen's suggestion; adjust wording
Merge pull request #365 from mtbc/trac-10870

fix #10870: describe FS upload configuration