Added Rubocop, Ruby-style linter.
Added Travis-CI.
Fix build on Ruby 1.9.x, UTF-8 marker missing warning.
Merge pull request #2 from dblock/rubocop-travis

Added Rubocop + Travis-CI.