Fix comment for config.cmd_hist
Free directory history items on :restart
Free all non-directory histories on :restart too
Remove hist_clear() function

It's quite useless.
Document memory leaks fixing in the ChangeLog file
Merge branch 'fix-memory-leaks-on-restart'

Fix memory leaks on :restart command.

After code refactoring history freeing was broken.