Check for link in path in utils.path_dwim_relative()

This allows an included path to be relative to a directory, if the
basedir of the original path is a symlink. In that case, the path
is normalized and the file is searched for in the normalized path.

Fixes #3312
Merge branch 'issue_3312_role_links' into devel