Watch docker container events

Regenerate templates when containers are started and stop.
Add notify command option

Runs a command after the template is generated.  Useful for restarting
nginx, haproxy, etc.. Use nginx as an example to add this feature and
ended up also needing to simplify how IP:Port info is accessed.