Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics

- [x] rake test passed
- [x] rails server loaded and function correctly
- [x] Ubuntu 12.04 packaging blocker issue 
- [x] drop 1.8.7 tests on Jenkins
Keep the version spec here, as 3.x may break API?