Build: Don't assume the browser environment; smoke test on Node w/ jsdom

Fixes gh-1950
Do we really need to add new task to `default` task? Those tests are for jsdom compliance, do we really need every time we want to build it? 

> We need to run grunt testswarm on Jenkins explicitly as it needs parameters, see config of this job:

Don't have access to it, you mean something like this - 
` grunt testswarm:d6c97abb744bfe8c67ab9158aecdb5bb1c05e47b:/usr/local/bin/tools/node-testswarm-config.json:jquery:jquery`?

We could you use new npm feature - passing arguments to npm scripts, although it doesn't look pretty.