Enhanced GCM registration
Refactored main activity
Fixed registration at startup
Modified format of device list on web