Correct Pow.as_base_exp for base == 1

fixes #8344 

will merge in 24hrs
On Tue, Oct 28, 2014 at 12:30:46PM -0700, Christopher Smith wrote:
>    In sympy/core/power.py:
> 
>  > @@ -561,7 +561,7 @@ def as_base_exp(self):
>  >          """
>  >
>  >          b, e = self.args
>  > -        if b.is_Rational and b.p == 1:
>  > +        if b.is_Rational and b.p == 1 and b.q != 1:
> 
>    would if b.is_Rational and not b.is_Integer and b.p == 1 be more
>    transparent?

Maybe, but the current variant seems to be shorter.