Split out isPending, pushPending, popPending, etc. into PendingElement

And use it as a mixin on ActionWidget, for I65b5de4a

Change-Id: Ib2c8f3361b6a674e22e41588cafdd833be391a54
Merge "Split out isPending, pushPending, popPending, etc. into PendingElement"