Rebase share distribution plugin

Hi, 

This is a rebased version of the following pull request  Share distribution plugin #151

I hope this will help you.

I'll take your feedbacks and modify this pull request according to them.

Cheers,
Sébastien. 
I think it should be assembleCustomDist instead of assemblecustomDist