[WIP] 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.
Yes https://github.com/crowbar/barclamp-cisco-ucs/pull/8#discussion-diff-21673663L23 => ```:condition => { :method => :post }```