replacing JSONKIT with CDVJSON in PowerManagement

Making PowerManagement compatible with 2.4+ and other minor changes to DeviceDetails.