Add Lint testing, fix linting errors and add Travis