Homogenisation and Gamma-convergence of free-discontinuity problems