Propery parse package versions with hyphen

Use package_to_requirement from pip to deal with hyphenated versions
Merge pull request #52 from coagulant/issue51

Beta package is not compiled properly (soaplib==2.0.0-beta2 -> soaplib==beta2)