[CHORE] Don't allow trailing whitespace in empty lines
[TOOLS] Added lint-script to package.json
[TOOLS] Travis should lint the code