Created by: stefanhengl
We already support symlinks for indexed search. With this change we add the same capability to unindexed search. I recommend to review by commit. The first commit is a just a refactoring to make the actual change easier.