end copied input with NUL char
add bel_new_token_list; refactor tokenize_term
ffi interface into libBEL