Add support for chrome.downloads API

https://developer.chrome.com/extensions/downloads
and s/bool/boolean/g