Do not emit errors for lines with only spaces

Use code from https://github.com/adobe/brackets/blob/master/src/extensions/default/JSLint/main.js#L75. Using @TomMalbran's suggestion in adobe/brackets#8842.