atomic refcounting

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
egl: add eglQueryWaylandBufferWL

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #32 from groleo/for-upstream-2

refcounting and eglQueryWaylandBufferWL