Parse version numbers properly; allow for >=1.1 and <2.0 versions

Fixes #50.