Use \setkeys{Gin}{} to set appropriate defaults for \includegraphics.

In pandoc and beamer templates. Thanks to Yihui Xie.
Updated tests for new LaTeX template.