Added thread to handle layer compositing. Modified GLContext to be multi-thread

Signed-off-by: dnomi <d.nomiyama@samsung.com>