add viewer_pane query parameter so pages can detect that they are running inside the viewer
ammend path from /etc/paths in server mode on mac (required for node-webkit version)
Merge remote-tracking branch: upstream/master