Add temporary banning

This method uses the normal minetest ban system for permanent bans and adds temporary ones, however it depends on this pull request from minetest: https://github.com/minetest/minetest/pull/594.
The ban time is specified in seconds and includes the time that the server is offline.