Add entity:on_position_changed() + friends for all entities (fix #298).