Update xlib virtualization

This patch adds:
  - more virtualization functions to xlib_plugin_virtualization.*; and
  - more wrappers to xlib_plugin_wrappers.cpp
Update glx wrappers

 - Added more glx wrappers
 - Changed functions to extern "C"