convert from event driven to task for Mpns and return device token

fixing issue [AGCORDOVA-47](https://issues.jboss.org/browse/AGCORDOVA-47)