Further tighten args handling
Further tighten args handling

Don't allow zero-length args.  Although the intent is unambiguous, it is
likely that the caller misunderstands the format of args.  Remove this
special-case and require that if args is specified it has at least 2
elements (e.g. ["node", "script"]).

Distinguish TypeError for non-object args from RangeError for bad
length.  Throwing a TypeError for the correct type was sub-optimal.
This fixes it.

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>

kevinoid/swagger-spec-validator,kevinoid/node-project-template,kevinoid/node-project-template,kevinoid/stream-compare,kevinoid/promised-read,kevinoid/git-branch-is,kevinoid/travis-status,kevinoid/swagger-spec-validator,kevinoid/travis-status,kevinoid/travis-status,kevinoid/git-branch-is,kevinoid/appveyor-status,kevinoid/node-project-template,kevinoid/stream-compare,kevinoid/swagger-spec-validator,kevinoid/promised-read,kevinoid/appveyor-status,kevinoid/git-branch-is,kevinoid/promised-read,kevinoid/appveyor-status,kevinoid/stream-compare