BaseSgmlLinkExtractor: Fixed unknown_endtag() so that it only set current_link=None when the end tag match the opening tag
BaseSgmlLinkExtractor: Added unit test of a link with an inner tag
BaseSgmlLinkExtractor: Fixed the missing space when the link has an inner tag
Offsite: add 2 stats counters
Always enable offsite stats + refactor test to initialize crawler
Fix tests for Travis-CI build
Merge pull request #570 from redapple/travistests

[MRG] Fix tests for Travis-CI build
Merge pull request #566 from redapple/offsite-stats

OffsiteMiddleware: add 2 stats counters
CrawSpider: support process_links as generator

Adding tests for CrawlSpider's process_links
Merge pull request #485 from bblanchon/sgml-extractor-link-text

SgmlLinkExtractor: Fixed link text when there is an inner tag
make 'basic' the default template spider in genspider, and added info with next steps to startproject. closes #488
Fix HtmlParserLinkExtractor and tests after #485 merge
Docs: 4-space indent for final spider example
Merge pull request #575 from redapple/docs-tutorialindent

Docs: 4-space indent for final spider example
Merge pull request #574 from redapple/htmllx-tests

Fix HtmlParserLinkExtractor and tests after #485 merge
Handle cases when inspect.stack() fails
testing PIL dependency is removed because there is a new mitmproxy version
Fix wrong checks on subclassing of deprecated classes. closes #581
Merge pull request #584 from dangra/581-deprecated-subclass-fix

Fix wrong checks on subclassing of deprecated classes
Merge pull request #585 from kmike/mitmproxy-reqs-cleanup

[MRG] testing PIL dependency is removed because there is a new mitmproxy version