Add the ability to disable casting of RDF::Resource

Closes #55