Get the minecraft snapshot version from the JSON

I think a lot of people need it. To use it, simply create a jargroup and write "minecraftSnapshot" instead of the URL. It works with versions like "00w00a" or "0.0.0".
Add getversion
Merge pull request #1 from malobre/patch-1

Patch 1