optimizing minetest.get_connected_players()

Since the builtin player also relys on minetest.get_connected_players(), it would be better to use this way. We don't force the engine anymore to collect all objects within a certain radius and then have to sort out if its a player or not. Possible security issue mentioned by PilzAdam also has been fixed and tested to be not accessible by mods.