Config-driven handler registration

I was playing with erlcron (https://github.com/erlware/erlcron), which has a nice feature of using the contents of a config file provided using the -config param at erlang startup to register cron jobs. It was pretty straightforward to map this back to what sighandler does.