chrome.runtime -> chrome.extension when needed

Some Ubuntu users are still stuck at Chromium 25.
Merge pull request #3807 from Rob--W/crx-chromium-25

chrome.runtime -> chrome.extension when needed (support Chromium 20-25)