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

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