Fixed issue where CPU measurements occasionally wouldn't work
Returned results from "top" command aren't formatted with whitespace
reliably, added more robust parsing to account for anomalies
Also changed from checking the output PID to checking the PackageName
so it can find the correct output while running on an Android service

Change-Id: I6f684ff1d611c180fe3dee94a448168365ef640a