Support multiple versions of Ruby

Hey @ddollar, the `git-rank-contributors` utility script wasn't working when using Ruby 1.9.x or Ruby 2.0.x ... I have fixed this in a way that doesn't break compatibility with Ruby 1.8.x.

The second commit is tangentially related: it changes all relevant scripts to use `$/` when splitting lines instead of hard-coding `"\n"`

Thanks!