Added cookie support to phantom

Exposed addCookie method on phantom.  The addCookie method on webpage is not sufficient.