bed kits system with newest bed included + some 0.3+ compats

I found this bed kits in 0.3+, tested them and they seem to work after changing one function.
I've also added to global.lua some 0.3+ alternatives to make script migrations less painful.