fixes #711: eslint reports wrong line number for files with shebang

I also took the liberty of moving the shebang stripping to lib/eslint.js
so it is supported through the API, not just the CLI. Same test should
cover both.
Merge pull request #707 from michaelficarra/patch-4

fixes #711: preserve line numbers when shebang is stripped