Try to add support for rails 4
WARNING rspec fails!
First try to support sesame sparql endpoint: changed application/n-triples to text/plain.
Should be sesame's problem though. Seems to work in my application. Be careful with this commit, use it at your own risk!