Fixes whitespace in .clt file
Writes the pipeline
Puts the pipeline XML template in a data file
Adds 'run' port to CLTools module
Resets input files which are not connected
Fixes KeyError when resetting an input file

If the file hadn't been changed before trying to reset it, KeyError was
raised.
Merge branch 'master' into 'vistrails-integration'