Changes to implement GCM

- MainActivity changed to retrieve and store the registration ID
- Retrieves from second server