Prior to this commit, projects/playlists were limited to folders even if
file URLs were passed as arguments. With this commit both files and
folders are added to projects from the command line.
This doesn't affect opening a file from the GUI yet, but this patch
implements the required plumbing for that as well.