Generate badge for clang analysis

I've added the downloading of badge from shields.io to `generate-clang-report.sh`.
Badge has number of bugs found by clang and is colored based on this number.
Very minor style nit-pick: maybe you can change this to double brackets (i.e. `[[ ${quality_index} -ge ${qualities_size} ]]`) for consistency with the rest of the code.