Added DirNameParameterValueWidget.

This is a specialised version of the PathParameterValueWidget which filters the file browser so that only directories are displayed.

Fixes #774.