edited MainActivity.java

from http://developer.android.com/google/gcm/client.html#app, added
getAppVersion(Context context)