Added chef-test, tailor and rubocop.

Also added Encoding markings for Ruby 1.9 on Travis - it was failing without them.

Cleaned up a few errors I found with rubocop.