Add lastimport plugin

Following up on #1007.

The plugin's in good shape already. I've just made a few minor style changes and the like. Still outstanding:

* [ ] Add docs (translate the README to ReST).
* [ ] Add tests.
* [ ] Changelog entry.