Fixed some errors in setup.py and requirements/common.
Moved version spec to requirements.