Fix: rewrite eol-last rule (fixes #1007) (fixes #1008)

related: #997, https://github.com/eslint/eslint/issues/1005#issuecomment-46745516
Merge pull request #1009 from michaelficarra/GH-997

rewrite eol-last rule (fixes #1007) (fixes #1008)