updated tests for detailsdecoratorstrategy and mediaResourceRepository.
needs to populate latter with tests.
re-factored MediaResourceRepository to only work with media resource
details rather than with media selection object. by the time the
method is called, the media resource has already been either created
or updated based on the media selection.