Add inital code for detecting latest vanilla release and snapshot.