Fix setup.py. Close #571

Update the setup.py to use SEMVER. The commit also includes some minor fixes
in the setup file, to reflect the new status.