Move formatting logic to classes

* All log formatting logic is not encapsulated in classes
* Formatters have their own specific specs
* Formatting can be changed by providing a config object which responds to #call(data)
* Added legacy support and deprecation warnings
Re-added action_pack to test environment
Ensure rails4 compatibility

* require active support concern
* add railties dependency