Add treatment for indexed wrapped inside functions
Add treatment for indexed wrapped inside functions

Now the canonicalization is able to work with indexed quantities wrapped
inside any functions, as long as the factor contains a single indexed
quantity.

tschijnmo/drudge,tschijnmo/drudge,tschijnmo/drudge