Added caption package to default beamer template. Closes #1200.