Thermal Metasurfaces: Complete Emission Control by Combining Local and Nonlocal Light-Matter Interactions