Use function pointer when choosing qa output function

Replace the chain of if/else statements deciding which output formatting
function to use with a function pointer wrt comments by vapier
README: Cap at 72 columns
slot collision output: fix indent