nIFTy galaxy cluster simulations – I. Dark matter and non-radiative models