Shelbourne beat Derry City and the ESB at Tolka Park as the lights briefly went out on a sparkling performance to begin their Premier Division title defence.