Bug 964915 part 4 - Refactor shell's Parent function to use GetOuterObject. r=efaust