Fix many things, add line_of_sight check

- Fix crashes
- Add minetest.line_of_sight()
- Max lifetime for zombies
Add experimental spawning control