local variables, take 2

This is a replacement for #1745. I kept the whitespace check in the travis test from there.

Instead of removing most of the local variables, adjust the test scripts so that no queries are performed about them from the emacs test instance.

Also, add `tabs` to `whitespace-style`, now that the whitespace has been cleaned up by `cleanup-whitespace.sh` there shouldn't be any tabs anyway.