Simplify version handling

See https://github.com/gratipay/gratipay.com/pull/2905 for discussion