Bug 942080 - Convert asynchronous activities to use promises and use the new functionality to update old notifications r=schung

(cherry picked from commit 84a5bf6632d559bb690d2134fc4b9ef19d9b78cc)

Conflicts:
	apps/wappush/js/wappush.js