Bug 938023 - Implement the download API : Part 1, webidl.
Bug 938023 - Implement the download API : Part 2, implementation.
Bug 938023 - Implement the download API : Part 3, tests.