Some changes for Moodle 2.6

1. Deleted modinfo and sectioncache form SQL statement, because they are moved to MUC.
2. Fixed the following error with $teachernames: if you select only show teacher name for second row, it doesn't show .