added graph slice code + test
Another attempt at fixing literal equality, hash and comparison handling.
Here lexical representations and values are kept separately, but all comparisons happen in value space.

This is keeping the existing rdflib behaviour for literal > < comparisons, here everything is compared based on the value. This means we can do some neat things:

* Compare literals with python objects, i.e. Literal(1)<2
* Compare literals without regard to datatype: Literal(1)<Literal(2.0)

BUT

This means we more completely ignore http://www.w3.org/TR/rdf-concepts/#section-Literal-Equality
Which is quite clear that data-type and lang must match for equality.

Now, to make __eq__, __gt__ and __hash__ consistent this must be true:

>>> Literal('1', datatype=XSD.integer) == Literal('1.0', datatype=XSD.float)
True

Which is probably not what we want.

I belive the neat comparisons will have to go...
Merge branch 'master' into slice
added slice to resources
1st of changes for RDF 1.1, before starting the email discussion
Merge branch 'master' of https://github.com/RDFLib/rdflib
old changes
merge with master
reworking literal __eq__ and added eq, rich comparison methods are still random
moved default eq method to Node
merge-master
merge master
fix broken merge
Changed the media type for json-ld (although this is not used as part of this parser, the code is identical to the one used by a general service, so better synchronize this)
Merge branch 'master' of https://github.com/RDFLib/rdflib
Updated the microdata registry to the ones in the W3C mercurial repo
doc update for Graph.label and mention Graph.preferredLabel

Graph.label docs didn't point out that it might return any label and
Graph.preferredLabel wasn't mentioned in the graph intro to resolve the
above problem.
Merge pull request #242 from joernhees/master

doc update for Graph.label and mentioning Graph.preferredLabel
fix for escaping last quote of long literals. fixes #239.
cleanup of notation3.py - removed lots of unused code