Adds three functions to iterate over prefixes and palindrome prefixes of finite and infinite words.
CC: @seblabbe
Component: combinatorics
Keywords: palindrome, prefix
Author: Alexandre Blondin Massé
Reviewer: Sébastien Labbé
Merged: sage-4.3.3.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8093