Rails 4

[Task 325] (https://integracredit.acunote.com/projects/44826/tasks/325) - Update flat_map for Rails 4

### Changes
* Rails bumped to 4.0.5
* Ruby bumped to 2.0.0

### RSpec
```
Finished in 0.32292 seconds
158 examples, 0 failures
```