Only set require-final-newline true if mode-require-final-newline is true
Merge pull request #51 from gimbo/master

Only set require-final-newline true if mode-require-final-newline is tru...