Fix karma exec cmd in build

The karma executable in node_modules/karma/bin isn't executable in the
repo, so we need to call the right command (node) explicitly.

Also fixed a few whitespace glitches in the build file (a space before
several, but not all, <arg> parameters) to make it internally consistent.