CrawlerProcess cleanup
CrawlerProcess cleanup

* remove unneeded lambda;
* extract _get_dns_resolver method and format code to pep8.

(cherry picked from commit 33d145e2f5a1f470398d96184b4da158e3ef7240)

zjuwangg/scrapy,zjuwangg/scrapy,zjuwangg/scrapy