Match chrome.runtime to spec

This patch adds missing functions and events to chrome.runtime to match
the API docs at http://developer.chrome.com/extensions/runtime.html.

It also removes some members from chrome.extension, as they belonged in
chrome.runtime instead.
Merge pull request #1231 from ChaosinaCan/master

Match chrome.runtime to spec