Add travis button to readme
Replaced __dir__ to File.dirname(__FILE__), for older rubies that don't support this.