First cut on printer module

Most of functions are converted
Remove most of try/with blocks in pp_print_term

Will revisit this function after conversion is done