optimization from Heidelberg: changing to use persons table instead of cc_users when restriction to registered/approved users is not needed and the persons table has all columns we need
bug 1068- changed the download links to include the title so the file extension and name is preserved. Also made the little gif clickable like it is in file storage