Make version comparison a little smarter

Most importantly, consider RCs and milestones to be before the
final release.
Merge pull request #135 from sbt/wip/havocp-fix-version-compare

Make version comparison a little smarter