Add logs in spec

Signed-off-by: chatgris <jboyer@af83.com>
Ruby 2.0 compatibility

Ruby 2.0 does not allow to use a mutex in a trap. This cause some error
on logger for example.

Implement communication between trap and handler with a pipe.

Signed-off-by: chatgris <jboyer@af83.com>
Less noise on exit

Signed-off-by: chatgris <jboyer@af83.com>