Add dependency badge to the README

I added version 2.4 to the README and added dependency badges. dev-master, 2.4 and 2.3 are up-to-date. Version 2.2 is outdated.