Merge "Allow applications to query for foreground/background data usage." into pi-dev