Use hyperref for creating links in the pdf file

Also update the .gitignore files to ignore irrelevant files generated by xelatex