Added k_list_remove_all().
Fixed bugs in k_list_remove() and k_list_remove_all().