make validator compatible with Ruby 1.8

Ruby 1.8 provides the integer code of the character when using an array lookup on a string
remove 1.8 from Travis build as it actually requires a bunch more changes to the development setup to run properly
Merge pull request #3 from s01ipsist/ruby18

make validator compatible with Ruby 1.8