Create statstodb.py

mySQL statstodb example, works with Scrapy 0.24