Intent filter security, code review fixes

Added check to the battery broadcast receiver in MeasureTask to
check and make sure the received intent has the correct protected
action string.