cleaned up some old debug statements.
fixed issue277 and added test for it
Merge pull request #5 from daisy-consortium/issue277

Issue 277: Fileset Utils, ref not preserved