Add global flag for regex to match correct pattern.
Add google doc previewer for pdf file
Let doc viewer open in new tab or window
Merge pull request #1 from iblis17/master

New feature: preview link for PDF files