Compiling with Xen 4.1.x.

It looks like mostly set up and teardown are affected by the changes.

Added guards to xen_private.h.

Including string.h to fix warnings about memset/memcmp.
Merge pull request #26 from awsaba/xenevent41_fixes

Compiling with Xen 4.1.x.