Support list of lists when converting from RDF

This makes the conversion from RDF much more stable and fixes a number of bugs of the previous implementation.

The previous implementation lost properties other than rdf:first & rdf:next attached to a list node. It converted linked lists to @list even if the used URLs instead of blank node identifiers for list items.