DeviceInfo modified for Apache Cordova

DeviceInfo plugin modified to work on Webworks 2 (Apache Cordova)