fix 1/den or -1/den incorrectly printing as 1 or -1 in fmpq_poly_fprint_pretty
Merge remote-tracking branch 'fredrik/trunk' into trunk
Many fixes for long->slong, mostly in C++ wrapper.
Don't require monic modulus.
Add fq_div and fq_is_invertible
Add fq_poly_mulhigh and friends
Fix bug in templates.h
Add fq_poly_gcd_euclidean_f, fq_is_invertible_f, and deps
Add fq_poly_xgcd_euclidean
Make sure non-monic moduli work.
Add fq_mat_nullspace and fq_mat_rank
Add copyright headers missed by script
Add fq_poly_xgcd_euclidean_f
Merge branch 'fq-2.4' into fq

Conflicts:
	fq_poly_templates.h
Add missing copyright headers
Fix const in fq_poly_powmod_xq_preinv
Make fq*ctx_init_modulus not take p and d as arguments.