Valgrind: Add history completer to path choosers

Change-Id: Ib91c2d2fd78318e55b6a3185d51006d8e461f601
Reviewed-by: hjk <hjk121@nokiamail.com>