minor formatting changes to DeviceDetails plugin
Updated PowerManagement for Cordova 2.4+