Added methods locationFromAncestor and locationToAncestor for passing
models.
Changed existing method methods locationFromAncestor and
locationToAncestor for model components to use these new methods.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>