Update dependencies. Add vows for tests. Fix JSHint warnings.