Fix all warnings from "ruby -w"

Thanks, Syntastic.
Merge pull request #71 from eapache/fix-warnings

Fix all warnings from "ruby -w"