[rfc] kodi crashlogs

on ubuntu, when kodi crashes, it dumps a nice crashlog. crashlogs help us and kodi devs to find out WHY..

the kodi.sh script included in this PR is a shameless rip off, cleaned up a bit ;)

I have tested on x86_64 and so far all good (simulating crash via kill -SEGV). but this needs testing. on RPi/Cuboxi-i with slow sdcard it might take quite lot of time to dump a 300+ MB core. also sh*t may happen on netbooted clients (but we shouldnt care much for those, anyway)

please dont merge (yet), this is for after OE 5 and should not go to 5.0 branch.

@sraue any comments?

//cc @fritsch