Add support for chrome.downloads API

https://developer.chrome.com/extensions/downloads
See the Best Practices described at the top of this file, specifically, B. Optional Parameters.