code style janitor

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
get rid of some code duplication

put android_wlegl_create_buffer boilerplate code into
wlbuffer_from_native_handle.

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
drop WaylandNativeWindowBuffer::getHandle

no one is using it anyway

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
clean some of the format warnings

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Merge pull request #144 from groleo/master

code style janitor