make print_result a static method of SpacewalkShell

The method is also used outside of SpacewalkShell class
(by spacecmd executable for example).