Raise correct error for issue 1015

	When doing Limit((1+x/(n+sin(n)))**n,n,oo).doit()
	we raises an error instead of returning the wrong answer.

	Now, 1**oo == nan instead of 1.