Install own signal handlers
KIOFuse is unable to use fuse signal handlers as it does not use the fuse event loop (instead it opts for the Qt event loop). This MR adds these signal handlers, roughly following what the FUSE signal handlers would've done. Although, in addition it attemps to flush all dirty nodes before exiting.