[RFC] Add `feedkeys` API function part 2

Cleaning up after #916

- I've split the f_feedkeys() function from eval.c into a reusable feedkeys()
- Now the API vim_feedkeys should work just like the vimscript feedkeys(String keys, String mode)
- Added new vim_remote_send(String) API for compatibility w/ Vim --remote-send

@aktau `result` is either the same as `ptr` or the same as `str` and `ptr` is freed.