Treat version components as integers

>>> '1.0.1'.split('.')[1]
'0'
>>> '1.0.1'.split('.')[1] >= 1
True
>>> int('1.0.1'.split('.')[1]) >= 1
False
Merge pull request #6 from ekohl/version-check

Treat version components as integers