A study of stability and bifurcation in micro-cracked periodic elastic composites including self-contact