Bug/feedback penalty

@jpslav, @kjdav - Needs review and testing.  Both these fixes have subtle changes.
I ensured that this is used only in the exercises list and the report.  @kjdav:  Unfortunately, I wasn't able to test this properly as my database has gone onto a weird state somehow.   Let me know if this is not behaving as expected.