Update and fix all style errors

Added a Gemfile for Rubocop.
Added a Rakefile to rake test with Rubocop.
Fixed every syntax error according to RuboCop.

Code functions as needed, syntax is just correct now.
Merge pull request #25 from grubernaut/syntax_fixes

Update and Fix all syntax errors.