[WIP] Rails 4 upgrade

**DO NOT MERGE YET, WORK IN PROGRESS!**

To get some first feedback I'm already creating this pull request. Of course we will cleanup the commits when it's done for merging.

There will me multiple barclamp pull requests linked against this pull request.
https://github.com/SUSE-Cloud/barclamp-logging/commit/422a30709aeb301aa7b20170aa6c2ac95aa959e9#diff-e78892af7a166edba05b1b8d3b07c241R30

:)