build: refactor test-e2e to ensure setup is performed by correct user.

- root runs commands via build-lf.xml
- www-data runs php scripts
- shell is no longer called by php setup / teardown scripts