Update dependencies.

Kept underscore to 1.6.x due to test failures.
package.json: sort some stuff alphabetically.
Merge pull request #1930 from XhmikosR/deps

Update dependecies. Alphabetize package.json lists.
Use `path.join` properly and in more places.