fix crash when deleting non-existing presets
move path_expand() and search_path_expand() into libpbd, and use them to expand search paths given to pathscanner objects (always)