compatibility with ruby 1.8.7

This patch allows using puppet-blacksmith in a project as an external dependency without any failures on ruby 1.8.7 and also introduces automatic testing on travis. There is still a problem with git command execution (or popen3) on ruby 1.8.7 but that could be solved as another issue. Should close #3.