Various Fixes. Which hint used now stored rather than num of hints used

Various improvements of display. Fixed bug with incorrect displaying of
answer for ordering text. Avg functions now take into account exam id
since items can be used in multiple exams