Use minetest.swap_node instead of hacky_swap_node
Fix screwdriver code style and add protection support