Add the ability to output badges as JSON.
GitHub versions: show "none" upon error

Closes #281
Merge branch 'master' of github.com:badges/shields

Conflicts:
	server.js