Make Version handle -SNAPSHOT suffixes.

This is kinda needed for the client to work now.