Bug 825591 - Skeleton of asynchronous JavaScript API for downloads. r=enn,mak
Bug 831708 - Add basic download states and progress. r=enn