Review doc links creation to support new URLs

- Read the major version from the version number and append it to the product support link
Import re module
Merge pull request #14 from sbesson/doc_links

Review doc links creation to support new URLs