Fix bug in templates.h
Fix copyright in nmod_poly_gcdinv and nmod_poly_invmod
Add docs for nmod_poly_gcdinv and nmod_poly_invmod
Fix fq_factor_disticnt_deg on linear polynomials
Add code for printing C preprocessor macros
Fix exception messages to print right function