fav/unfav from filelisting

Favourite or unfavourite a course from file listing using a button in
the action bar.

Also, the file counts and forum counts of a course are updated to the
database when the file or forum of that course is opened.