Return parsed version tuple from version string.
For instance:
>>> parse_version('1.2.3dev4') (1, 2, 3, 'dev4')
previous
is_localhost
next
runcommand