Finally got the LatexBox plugin working as I like.

- Added env variables BIBINPUTS, TEXINPUTS, BSTINPUTS to allow search of cls,
  bib, etc files recursively in the current directory.
- Configure latexmk to generate auxiliary files inside a build directory to
  avoid clouding the current one.
- Use Xetex instead of Latex to build the PDF files.