Create Power trait

The patch adds a Power trait that can be implemented by all types
implementing the `Mul` and `Clone` trait.

Fixes bug #11499