update rubocop, add common linter task, fix rubocop issues
add missing encoding
Merge pull request #15 from ehaselwanter/rubocop

update rubocop, add common linter task, fix rubocop issues