Added code to handle the case where the power is a negative integer.
Merge pull request #1080 from chebfun/fix-negative-integer-power

Deal with raising a chebfun to negative integer power more appropriately