Implement mozDownloadManager.adoptDownload as a certified-only API.
This also fixes and re-enables many of the existing dom/downloads tests
failures by virtue of cleanup and not running them on non-gonk toolkits
where exceptions will be thrown and things will fail. This should
resolve bug 979446 about re-enabling the tests.