Update WindowManagerState for TaskFragments

Also rename ActivityTask to Task and rename stack to root
task.

Test: touched tests
Bug: 190684677
Change-Id: Ie7e8235fe7148caa256df3222d515ef8e14cd409
22 files changed