add helper method "capture"
Merge pull request #113 from saketoba/capture_method

Add helper method "capture", to get the output of ssh commands simply.