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 #17 from sbesson/rebased/master/doc_links

Review doc links creation to support new URLs (rebased onto master)