Fixes unicode issues in downloader by changing the XML attrib values to unicode strings.
make Package and Collection sortable, so that the downloader works in Python 3