Remove redundant code and simplify: auto-expand/highlight

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Rewrite simply and generalize table/view part and fix bug#4219

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Remove redundant function and rename variable: auto-expand table/view

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Merge branch 'QA_4_1' of github.com:phpmyadmin/phpmyadmin into QA_4_1