Upgrade thor to 0.19.1 and refactor tests

Upgrades Thor to 0.19.1 and refactors the tests to capture output
from puts as suggested in http://goo.gl/eHtBnl
Merge pull request #88 from site5/upgrade/thor

Upgrade thor to 0.19.1 and refactor tests
Add option to provide specific ip for add_ip