Which specific legislation played a pivotal role in modernizing law enforcement by mandating training for police, establishing the use of tax dollars for police pay, and bringing law enforcement agencies under governmental control?