TextEditor: Add history completer to path choosers

Change-Id: I32f7ee73474bd9a5c1d7d435d4d2969c4126662a
Reviewed-by: Eike Ziller <eike.ziller@digia.com>