Updated beamer template.

Now references should work properly (in a slide) when
`--biblatex` or `--natbib` is used.