[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, part of the translation string. Without that we can not get a valid key because it's a nested strcture as well.