findReferencedElements: Handle referencingProps separately
findReferencedElements: Handle referencingProps separately

Split the handling of referencingProps into a separate loop that calls
findReferencingProperty directly.  This saves a bunch of "make list,
join list, append to another list and eventually split text into two
elements" operations.

This gives approximately 10% faster runtimes on 341 kB flamegraph
generated by the "nytprof" Perl profiler.

Signed-off-by: Niels Thykier <a802a5730c0da02a06106670cc12c7838c6e90dc@thykier.net>

codedread/scour,oberstet/scour,scour-project/scour,Ede123/scour