Modified IContentLoader to include a getResourceFromContent() method to avoid the class cast exception being reported in FELIX-149.