Collective behaviour in a system of two two-level atoms at the edge of a photonic band-gap