Fix memory access violations.
Fix a lock issue when the API tests is running.

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Throw exception if wl_display_roundtrip returns error.
copy ivi-layout.h

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>