Create a base class for all loaders.
Fix some details in the interface between (Re)importer and Loader.

Also, fix a bunch of nasty bugs in Reimporter connected with
task ordering and not violating unique contraints.
Fix docstrings in BaseLoader.

This last commit should fix #71.