tweak create_doc.c
fixes to documentation

Also bail out in create_doc.c if parse exception is encountered.
Merge remote branch 'tom/gsoc-doc' into trunk
fix bug in is_squarefree
Merge remote branch 'tom/is_squarefree' into trunk
make is_squarefree an fmpz_poly method; slightly simplify it