Port 'bug #3120 Events are not exported when using xml' to QA_4_2

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Merge branch 'QA_4_2' of github.com:phpmyadmin/phpmyadmin into QA_4_2

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>