__cmp__ no longer fails when a Literal is compared with a basestring (or derivative).  It will instead cast itself to a unicode and call cmp.  Doctest added for this case
__cmp__ no longer fails when a Literal is compared with a basestring (or derivative).  It will instead cast itself to a unicode and call cmp.  Doctest added for this case

RDFLib/rdflib,dbs/rdflib,yingerj/rdflib,RDFLib/rdflib,ssssam/rdflib,marma/rdflib,yingerj/rdflib,armandobs14/rdflib,RDFLib/rdflib,dbs/rdflib,avorio/rdflib,ssssam/rdflib,yingerj/rdflib,avorio/rdflib,marma/rdflib,dbs/rdflib,ssssam/rdflib,yingerj/rdflib,ssssam/rdflib,marma/rdflib,RDFLib/rdflib,armandobs14/rdflib,marma/rdflib,avorio/rdflib,dbs/rdflib,avorio/rdflib,armandobs14/rdflib,armandobs14/rdflib