Log application spawning errors to Union Station.

Closes GH-1221.
Refactor Ruby Union Station support code

Split into multiple files, rename some stuff.
Introduce public Union Station logging APIs.

This will allow us to implement Union Station support for non-Rails Ruby web frameworks.

Closes GH-1220.
Merge branch 'log_spawn_exceptions_to_union_station'