The Derry author on tackling Northern Ireland’s past in his debut novel – and the tweet that changed everything ...