Moved node cache down a level.
Fixed rdf_resource to deal with caching terms regarding different subjects.
Added a bunch of work towards nested attributes.