Ticket #739 References was not assigned to...

References was not assigned to PDF correctly

The Reference Updater builds three indexes with the file path as
reference, but there was no upper lower case handling, hopefully I got
them all now, but if we going to run into a similar bug we should first
look there
Merge branch 'Ticket#739'