The threat of populist governments, Brexit negotiations and a stagnant economy painted a dark picture for Europe going into 2017. However, half way through the year things have changed.