Add command for outputting the latest version number

This command was added in doctrine/migrations#138.