Small fix to rewrite
Change to Pow's as_content_primitive

Distribute constants to allow combining terms of exponents.
Fixed powsimp, radsimp, and simplify
Test changes