Add test-error-handling.c

libchewing APIs shall return properly instead of crash when parameter
like ChewingContext is absense.

Part of #98