Semi-global Kuranishi charts and the definition of contact homology