Add forceAllowThirdPartyCookie flag for requests

This is the same code as in the PR https://github.com/mozilla/addon-sdk/pull/239, but with all tests passing and in only one commit.