There is the Achievements plugin by Paul Gibbs. Paul now works for Automattic so the WordPress.com setup may well be based on that.