Test for get_parent across branches

TNL-1012

This test found a bug which I fixed and, while fixing it, I also reduced some of the lms computation by limiting the scope of its inheritance computation. I also found another bug which I labeled.

I still need to test an xml course which is not a tree to ensure it doesn't break. I'll do that in a separate PR. My gut on that is to create the xml non-tree course, check that 

* `get_path_to_location` or something like that works (doesn't barf),
* check that each parent can get to the shared child via its children field

import the xml course into both mongo and split, rerun the test on each. I know the split one will fail. I'm still not sure that it shouldn't, but...

@jimabramson @cahrens pls review. 
This fixed the fetch from published test below, BUT I believe the only reason the fetch from draft test passes is due to `get_parent` luckily choosing the "right" parent for the test not b/c `get_parent` is right.