Rails 4 upgrade

Just some fixes that are included for the rails 4 update at https://github.com/crowbar/barclamp-crowbar/pull/1157 for getting feedback.
I'd slightly prefer to move these packages into an Ubuntu branch of the conditionals in `attributes/default.rb` for the `corosync` and `pacemaker` cookbooks, although they would still need to be revalidated on Ubuntu since the package names could have changed since these notes were written.