Optimized minetest.get_connected_players()

Instead of collecting all objects within a huge radius ( which could be
a big value ), just register each player that connects and give back the
current hold list.