Moved output and result storing from ShellResult to Shell, and improved block and result handling.
Moved output and result storing from ShellResult to Shell, and improved block and result handling.

victorklos/babushka,victorklos/babushka,victorklos/babushka