Improvements to install script

* automatically remove install/ folder
* go easier though the compatibility test <-> install script pages
* Small fixes which raised php warnings