Use SVG badge URLs where available

Closes #150.
check for the needed modules rather than testing methods

Minitest changed how it works and broke this behavior. We can get away
with just checking to see if the needed modules are included/extended.
Merge branch 'master' into fake-columns-for-attributes