Aurigaia: Mock Gaia DR2 stellar catalogues from the AURIGA cosmological simulations