The Atacama Cosmology Telescope: likelihood for small-scale CMB data