adding option for hidding private course -refs #7236
Moving lines at the end of file -refs #7236
merge
Merge branch 'ycastillo-yoselyn.7236' into 1.9.x