Fix .gitignore, add Travis config file and build gem in Rakefile

Also bumps version and adds Ruby 1.8.7 support back in.