From http://elgalu.github.io/2013/add-achievement-badges-to-your-gem-readme/