Merge ActivityStack into Task

Remove ActivityStack and merge it into Task.

The `stack` term still exists in lots of variables/methods/comments
which will be cleaned up by other CLs.

Bug: 157876447
Test: existing test pass
Change-Id: I9ae0823ad1cbfd34bef004925700451c6071c542
71 files changed