Fix SQL injection vulnerability
Use idiomatic EUMM postamble feature
Fix typo stoplave->stopslave
Setup test environment that PAUSE.pm likes