niem2Collection.js refactored to xml2collection.js

Also added winston dependency