Refactor railtie

This puts all of the rails integration logic into the railtie. Some of
the defaults were also changed. Parameters are logged by default, but in
JSON format. Standard logging is no longer silenced by default.