APIs to open a folder with file pre-selected

This will enable a nice "Show in Finder"/"Show in Explorer" command in Brackets core.