Rounded out Literal comparison and fixed some corner scenarios that weren't being compared proplerly.  Added doc tests
Rounded out Literal comparison and fixed some corner scenarios that weren't being compared proplerly.  Added doc tests

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