BibEncode: fix video-encoded files synchro to DB

* Files created by BibEncode are sometimes not visible
  by BibDocfile, even though they are well available in
  the BibDocFile storage space. This patch helps synchronising
  these video-encoded files to the BibDocFile tables.
  (closes #1647)

Co-authored-by: Ludmila Marian <Ludmila.Marian@cern.ch>
Reported-by: Genis Musulmanbekov <genis@jinr.ru>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BibEncode: fix video-encoded files synchro to DB
BibRank: faster searches with * queries

* Replace m='r' with a simple star query, less precise but way faster.

Signed-off-by: Alessio Deiana <alessio.deiana@cern.ch>
Acked-by: Samuele Carli <samuele.carli@cern.ch>