Changes to address #3
* Relocated duplicated code to common module
* Add option in merge_demultiplex to name reads by sample