Restore most of proper handling of recent files.

We still cannot set the RecentData's group field and thus cannot make a
distinction between main and translation files.

https://bugzilla.gnome.org/show_bug.cgi?id=678401
https://bugzilla.gnome.org/show_bug.cgi?id=695970