Factors() can handle S.Infinity.

Fixes issue 3807: simplify(tan(zoo) + oo) throws an exception
http://code.google.com/p/sympy/issues/detail?id=3807