Travis CI integration + Foodcritic fixes + consolidate attributes

- Adding travis ci to run foodcritic style checks.
- Fixed a bunch of footcritic suggestions
- consolidated attributes