minetest.rotate node

Description
calls minetest.rotate_and_place with infinitestacks set according to the state of the creative mode setting, and checks for "sneak" to set the invert_wall parameter.