Support tasks that only have source files

Lint tasks like coffeelint or jslint don't have output but
just a bunch of source (input) files. Now restrict detects that
and works in this case too.
Merge pull request #1 from ikicic/src-only-tasks

Support tasks that only have source files