Update reactor.py, updated 'if' sequencing , possibly eliminating a bug if portrange=None
Update reactor.py, updated 'if' sequencing , possibly eliminating a bug if portrange=None

This should be the proper ordering.This is the explanation.
  If 'not portrange' is True ,it is guaranteed that `not hasattr(portrange, '__iter__')`  is also True  the converse of this is not always true.(for example, consider portrange=None, for such case we were executing the logic for `not hasattr(portrange, '__iter__')` . ).Such case is eliminated by this PR.
eLRuLL/scrapy,pablohoffman/scrapy,elacuesta/scrapy,scrapy/scrapy,scrapy/scrapy,pawelmhm/scrapy,elacuesta/scrapy,dangra/scrapy,dangra/scrapy,starrify/scrapy,scrapy/scrapy,elacuesta/scrapy,pawelmhm/scrapy,starrify/scrapy,pablohoffman/scrapy,dangra/scrapy,eLRuLL/scrapy,starrify/scrapy,pawelmhm/scrapy,pablohoffman/scrapy,eLRuLL/scrapy