Core dump generation

To ease debugging, the daemon should try to create a core dump when it terminates unexpectedly.
If the system reports an error while enabling it, just carry on initialization normally.