Move tcp-mon, connection and service manager supervisors from replication to core.

Actually add the new supervisor module.

We need ranch in core to start. Fixed broken supervisor spec.

Add missing function to core util; goes along with tcp monitor.