Travis: Corrected getting the npm version information. Copied some fragments from the selenium-example project.
Travis: Added texlive-fonts-extra to the LaTeX installation.
bgcrud: fix for wide character error of gzip and make it work with relative path.
Travis: Add more required packages to the LaTeX installation.