add method to x_module checking whether a node has children at a given depth
add test checking that incomplete courses don't 404 or 5XX
use  instead of ad-hoc hackery to tell if a course has content