enabled rubocop and fixed code for rubocop style
added rubocop check to travis
adding proper encodings for all rb files
adding missing encoding to the bin file
Merge pull request #51 from toppings/rubocop_quality_improvement

enabled rubocop