Automate creation of SVG badges.

This is related to bug #2.