CollectionResource.getParent() returns the relative path instead of foreignSource:foreignId

Fixing CollectionResourceWrapper again to parse the parent properly, in
order to build a valid OnmsResource ID when storeByForeignSource is
enabled.
A Junit test was been modified to verify the correct parent.