allow to disable an extension by setting its value to 0 or None

allow to disable extension by setting its value to 0 or None. See https://github.com/scrapy/scrapy/issues/86#issuecomment-5392185