wrapper: check if commands is empty in the method which uses them directly
wrapper: exit grnline after exiting groonga
bin: fix the bug that "grnline" command always returns true correctly

When exit_status is nil, grnline receives EOF.