Add print! and println! macros

This closes #7653.