Dynamics of DNA-programmable nanoparticle crystallization: gelation, nucleation and topological defects