Setup guard so to smooth authoring process.

Guard will watch modifications to .tex files and will automatically rerun the HTML
+ PDF generation process.
Add basic definitions.