Bug 834653 - [EMAIL] Message list synchronization progress bar should become indeterminate/show "candybar" state after a timeout since last progress bar update. v1-train landing

cherry-pick progress bar building block changes in order to properly land our fix for bug 834653

Requested in https://bugzilla.mozilla.org/show_bug.cgi?id=834653#c16