Add rubocop with only some more basic checks enabled.

Cleanup and make more consistent some of the things rubocop uncovered.
Add coveralls.
Add rubocop tests to travis.