Federal judge rules class action is the most efficient way to resolve dispute over the creation and storing of “face templates” in uploaded photos.