do not show inline editor if base tree is already hidden

(cherry picked from commit 1d4a9ac868df2515e2e865d62a4435719451b4a9)
isCourseUpToDate made public for serialization reason
(cherry picked from commit 1e1951b)
fixed test_helper.py template for creating course
(cherry picked from commit 2c35541)
Merge remote-tracking branch 'origin/139' into 139