JBEHAVE-977:  Refactored ResourceUploader to use the Resource object as input to be aware of parent resources.