Added bibliography to the template.
Added *.out files to the .gitignore list
Added figures and image support to the LaTeX template.