BibDocFile: fix for bibdoc unattached to record

* Fixes the constructor of the BibDoc class to correctly set the bibrec_types
  class atribute when the bibdoc is not attached to any record.
  (closes #1551)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>