Find context if it exists already

* produce the new Resource with context_subject pointing to this
* save only the new Resource (and not again the context)
Fix a bug (undefined method on nil)