Tool/ContributionOpener: Moved its content (DirectoryFileHandler class) to...

Tool/ContributionOpener: Moved its content (DirectoryFileHandler class) to ContributionTool as this is not a Tool.

As this is only used in ContributionTool, it does not seem necessary to create a separate
module for that.

Also:
  * Fix undefined variable `splitport`.
  * Use cStringIO instead of StringIO (as the rest of ContributionTool code does).
23 jobs for arnau
in 0 seconds, using 0 compute credits, and was queued for 0 seconds