Ruby/Rails/CouchREST/etc upgrades

Merging Rails 4, Ruby 2.1, CouchREST 2.0 and all other upgrades from [Quoin](https://github.com/rdsubhas/RapidFTR.git)