Fixed version handling to work with new Spigot builds as well as adding
Glowstone support.