Add line editing, history to choosing file for send/receive.

Add linenoise line editing library and use it for send/receive file.
Add history for send/receive file and save history to file.
Add file completion for send file.