Improved support for bib files

This update adds support for .bib files included with the **\bibfiles** command.
Moreover, the program now searches the root document also for bib files.