The electronics, trigger and data acquisition system for the liquid argon time projection chamber of the DarkSide-50 search for dark matter