fixed #478
prepare for 2.0
more straight ruby lib detection
more hooks
added --alarm-backlog
added alarm-metric alias
core/socket: common socket creation function for bind_to_*
core/socket: move socket buffer size setting to create_server_socket
core/socket: move listen queue size checking to create_server_socket
core/socket: move SO_REUSEADDR setting to create_server_socket
Merge pull request #499 from kunkku/socket-refactor

core/socket: eliminate some duplicated code from bind_to_* functions
option for closing server sockets when spawning

If server fd is not closed, it is not possible to restart uwsgi if the
spawned process is still running as it keeps the address/port bound.
Merge pull request #498 from kunkku/close-serverfd

core/socket: close TCP server fd when spawning
rset fd flags only if close_on_exec2 is enabled
prepare for touch event
fixed json build check for true
announce legion dead on lord hook failure
added uwsgi.legion_death_on_lord_error
added support for custom log messages in legion actions
improved legion_action api