Improving the management of nodejs and phantomjs dependencies.

This commit improves consistency in the way nodejs and phantomjs
dependencies are managed, and phantomjs is now supposed (just like
nodejs) to be present as an exe file in the maven repository (it is
no longer extracted from a zip file).
Now using nodejs 0.8.22 and phantomjs 1.9.0.