Refactor according to Rubocop style guide
Cosmetic cleanup.

- Don't exceed line widths, align params, use parens with arguments, etc.
More style fixes: EOF newlines, single quoted strings, etc.
Style fixes and small refactorings
Cleanup related to PR feedback.
Merge pull request #47 from seanknox/refactor_and_clean

Style clean-up and small refactors