Move OpenFileInPreviewTab() to FileHelpers

TODO: Make other features call this
Add Go To Definition for Node.js require() calls