Modify textSource assignment for ignoreSelection
Modify textSource assignment for ignoreSelection

Add an "ignoreSelection" variable that reads the script.ignoreSelection
option.  If the selection is empty or if the ignore selection option is
on, then set textSource to editor and perform a file based run.

fscherwi/atom-script,idleberg/atom-script,rgbkrk/atom-script