Render ICO images on Windows.
ICO images are not rendered on Windows due to missing ICO plugin.

Issue: http://code.google.com/p/phantomjs/issues/detail?id=779
Merge pull request #317 from Vitallium/fix-missing-ico-plugin-win

Rendering ICO images on Windows.
Maintain m_currentFrame as opposed to using QWebPage's currentFrame().

Currently focused frame made available with page.focusedFrameName and page.switchToFocusedFrame.

http://code.google.com/p/phantomjs/issues/detail?id=683
Treat all args after the script name as script args

This fixes CapserJS which builds a command line like this:
phantomjs bin/bootstrap.js --casper-path=~/capserjs --cli

That works on Phantom 1.6 but not on master due to the qcommandline
port.

Fix by extending qcommandlne to take a ParameterFence flag which causes
it to treat any options after a parameter as arguments. Switch
"scriptname" to use that so the 1.6 behaviour is restored.

http://code.google.com/p/phantomjs/issues/detail?id=55
Remove the dirty link hack for a static PhantomJS + MSVC.

http://code.google.com/p/phantomjs/issues/detail?id=753
Use GitHub contributing guide feature.

See https://github.com/blog/1184-contributing-guidelines.

http://code.google.com/p/phantomjs/issues/detail?id=783
Fix the link to the contribution guide.

http://code.google.com/p/phantomjs/issues/detail?id=783
More changes for the upcoming 1.7.

http://code.google.com/p/phantomjs/issues/detail?id=764
Redesign the Cookies API (part 2)

Addresses [Issue #761](http://code.google.com/p/phantomjs/issues/detail?id=761).

This is a combination of 5 commits.

1. Date in Cookie can be set via "seconds since epoch" as well.

* In addition to the current string format, we can now set cookies via integer of msec since epoch
* Expiration date can be set via "expires" or "expiry" option ("expires" has priority)
* Returned cookie will contain "expires" as string and "expiry" as msec since epoch

I believe this can simplify code that uses cookies and it doesn't change the functionality.

2. Applying the "--debug" command line options as early as possible.

3. Fixing bug and behaviour in the CookieJar

* It's not possible to set a cookie without a domain: will default to the domain of the page it's set on
* "page.clearCookies()" was broken
* "cookiejar.deleteCookie("name", url)" reimplemented because deleting via "expiration" doesn't work

4. Improving (and more fixing) in the CookieJar

* Purging Session or Expired Cookies now works
* Added boolean return values to inform if the requested cookie operation succeeded
* Timestamps for "expiry/expires" in Milliseconds, as JS does by default
* Improved detection that a cookie has been accepted or rejected by the cookiejar

NOTE: Unfortunately, the Qt provided QNetworkCookieJar is a very limited
and not extremely well designed solution. It doesn't provide any "nice
and clean" CRUD API, and you are only left with a SET/GET to deal with.
Mechanism to understand when and when not a cookie is added are hidden,
and require extra work in the sub-class (our CookieJar) to fill the gap.

5. Methods on the "phantom" object to manipulate the CookieJar.

* phantom.cookies (array of JSON/Cookies)
* phantom.cookiesEnabled (boolean)
* phantom.addCookie
* phantom.deleteCookie
* phantom.clearCookies

Those methods operate on the CookieJar directly and have no URL restriction.
In other words, if page P1 can see set of cookies C1, and page P2 can see set of
cookies C2, "phantom.cookies" can see (i.e. operate upon) both C1 and C2.
merged changes from upstream
Git-ignoring debugging-helper on mac
Made the "Callbacks injection" recursive.

Before this, only the first level of child frames had the possibility to use
the Callbacks object. Now is injected recursively in all of them.

This is an extension of coverage for [Issue #683](http://code.google.com/p/phantomjs/issues/detail?id=683).
Merge pull request #319 from detro/ghostdriver-dev

GhostDriver Development Branch - Master Push #4
Contribution guide: highlight various aspects of communication.

http://code.google.com/p/phantomjs/issues/detail?id=783
updated stuff from upstream
Fix --help and --version

https://code.google.com/p/phantomjs/issues/detail?id=789
Merge remote-tracking branch 'upstream/master'
Make the key enums as part of WebPage instance.

This way, we don't add anything into phantom object.

http://code.google.com/p/phantomjs/issues/detail?id=492
Windows: Use ARGB32 premultiplied to have better font rendering.

Thanks to Vitaliy Slobodin for the analysis.

http://code.google.com/p/phantomjs/issues/detail?id=785
Keep ARGB32 premultiplied format for Windows for the time being.

http://code.google.com/p/phantomjs/issues/detail?id=785