[wip] Rails 4

- [ ] Fix/update specs:
  - [ ] controllers
  - [x] features
  - [X] helpers
  - [x] lib
  - [x] mailers
  - [x] models
  - [X] permissions
  - [X] policies
  - [x] requests
  - [X] routing
  - [x] views
- [ ] Fix/update tests
   - [ ] units
   - [ ] integration
   - [ ] functional

Line is too long. [161/99]