When the command is a function, call it to get the executable command.

If a function is provided for `command`, call that function passing in the reference to the running grunt-shell task. This allows for more flexible multi-step scripts to run, passing data from the output of one to the next, using a closured object.