Add support for phantom Image-Options

See https://github.com/ariya/phantomjs/blob/master/src/webpage.cpp#L854

Note: PhantomJS is missing the documentation for this feature (https://github.com/ariya/phantomjs/issues/11469)
Allow test cases to use directory when only the script name is passed
Create setScriptBaseDir(scriptName) to fix jshint tests
Merge pull request #561 from hexid/test-dirname-fix

Allow test cases to use the directory when only the script name is passed
added version information for eachThen()
Merge pull request #529 from AltIvan/patch-1

Add support for phantom Image-Options
added docs for new capture*() imgOptions parameter
fixes #565 - undefined response when unicode URL
refs #565 - reverting 2c9547a because of unexpected side effects
fixed #565 - undefined response when unicode URL