Bug 1031612 - In PDF Viewer, the buggy XMP title "Untitled" overrides th...

...e document info title

Reordered to make sure if info['Title'] exists, assign pdfTitle to it.
We still want metadata title be a preference