Refactored some testing code, and fixed bug in Image.pull and Image.build where JSON data streamed back from dockerode sometimes is only a partial JSON message
Fixing code styling travis errors.
Merge pull request #24 from kalabox/kboxBuildBugFix

Kbox build bug fix