XBMC Binding: implement system shutdown, bugfixes