Make ShellCheck actually work on Travis

@charlierudolph now it actually runs on Travis + existing errors fixed