Modular helper classes for GCM including auto-retry using exponential backoff for registration