[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) EDIT: oh, and those people who install x86_64 on usb sticks, too...

please dont merge (yet), this is for after OE 5 and should not go to 5.0 branch.

@sraue any comments?

//cc @fritsch 
This needs to be:

```
/usr/lib/kodi/kodi.bin $SAVED_ARGS
```
By quoting, the collection of args is treated as a single arg (and then you get no lircd with this commit)