Command function

Command function executes an application externally. At the moment R
does not distinguish between stdout and stderr streams. This might be a
problem in the future.
Command returns test.result object, prettyprint added