Speed up literal initialisation

These patches make initialising RDF literals significantly faster.

- `RDF::Literal.new("foo")` -- 18x speedup.
- `RDF::Literal.new("5", :datatype => "http://www.w3.org/2001/XMLSchema#integer")` -- 2.3x speedup.

Thanks,

Tom