Added chrome.browserAction APIs and tests.