Allow extension JS files to be injected into PhantomJS with the agent

Allow extension JS files to be injected into PhantomJS with the agent.

This allows things like geolocation and other APIs to be faked out before the page loads.

(I'm using this to test a phonegap application so being able to inject before the page loads to simulate phonegap is important to me)