Reworked api for canceling network requests. Added experimental API for changing the url of the network request.

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

Stub
Allocate JsNetworkRequest on the stack to avoid leaking it.

https://code.google.com/p/phantomjs/issues/detail?id=539