dpaste plugin: add compatibility with non GNU *nix
dpaste plugin: add tests
Merge branch 'dpaste'