Changes to improve the AbstractInstallerTest class
Changes to improve the AbstractInstallerTest class

- Changes delete logic to be more precise in what it deletes.
- Makes various test methods and assert re-usable.
- Reduces the amount of static methods.

Potherca/phpcodesniffer-composer-installer_issue-24,Potherca/phpcodesniffer-composer-installer_issue-24