Faster ``minpoly`` using composed sum.

Added power series functions on "ring.PolyElement" objects.
small changes in the documentation; used ``as_int``
used ``giant_steps`` from ``mpmath``
Merge pull request #2630 from pernici/mp5

faster minpoly using composed sum