BibFormat: assert recid is an integer in constructor

* When creating a BibFormatObject, if the recid passed is not an int,
  cast it and alert the admin

* Also convert to int when it is taken from the marcxml.

Co-authored-by: Alessio Deiana <alessio.deiana@cern.ch>