MDL-50793 mod_book: Display hidden chapters to teachers