Add fileobj and lineno params to Extractor API

This makes the extractors usable directly. In particular this is creates
a sane interface to call the Python extractor from other plugins.
Prepare 3.2 release.
Onwards