Docker: Ensure linux/types.h included before sys/capability.h, and improve backwards compatibility for ethtool and the setns system call. Now compiles on CentOS 6

git-svn-id: svn://svn.code.sf.net/p/host-sflow/code@480 c0bd136a-9412-4574-afac-2923e5188ea6