NumberFormatException with file names like V1..1__desc.sql

Fixes https://github.com/flyway/flyway/issues/572

As part of the fix I also fixed the compareTo implementation for MigrationVersion.EMPTY and MigrationVersion.LATEST and simplified the code a bit.