Add Rubocop and checklist
Guard Ruby 1.8.7 against Rubocop in short term
Correct AWS API version to one in the past
Merge pull request #2934 from fog/style_rules

Add Rubocop and checklist
Standardise empty lines throughout codebase

Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
Standardise indentation of access modifiers

Done with `rubocop --auto-correct --only AccessModifierIndentation`
Remove trailing blank lines

Done with `rubocop --auto-correct --only TrailingBlankLines`
Remove trailing whitespace

Done with `rubocop --auto-correct --only TrailingWhitespace`
Update rubocop todo list
[GH-2932] Disable brittle test

The AWS security group tests have been very unstable with 2 failures on
Travis per build. The majority is the mocked version of
`describe_security_groups` not working.

We have decided to disable it until someone makes time to figure out the
bug since it is affecting every build.

See https://travis-ci.org/fog/fog/jobs/25614603#L1105
Merge pull request #2951 from fog/style_whitespace

Styling clean up of whitespace
Merge pull request #2952 from fog/disable_buggy_aws_test

[GH-2932] Disable brittle test
Replace `alias` with `alias_method`

Done with `rubocop --auto-correct --only Alias`
Standardise on collection methods

Done with `rubocop --auto-correct --only CollectionMethods`
Replace deprecated File.exists? method

Done with `rubocop --auto-correct --only DeprecatedClassMethods`
Replace deprecated Hash methods

Done with `rubocop --auto-correct --only DeprecatedHashMethods`
Update rubocop todo list
Merge pull request #2953 from fog/style_method_names

Standardise method names based on style rules
Merge pull request #2947 from gregburek/correct-ec2-api-version

Correct AWS API version to one in the past