Static analysis

Static analysis made with rubocop gem.
- [x] Add the gem and basic configuration
- [x] Fix most of the issues pointed by the tool
- [x] Integrate on the rake process the static analysis
- [ ] Integrate with Guard