Predictive Management of Fog Applications