Updates badges to SVG.
Adds API to README.