Add methods entity:get_direction4/8_to() (fix #150).

Also normalize the result of entity:get_angle().