BETA FUNCTION, RENORMALONS AND THE MASS TERM FROM PERTURBATIVE WILSON LOOPS