WebExtensions: Implement cookies API
This implements nearly all of the cookies API with two exceptions:
- WebKitCookiesManager::changed doesn't give us enough information to implement cookies.onChanged.
- WebKitCookiesManager doesn't expose the ability easily list all cookies for every URL.