Fix phpswitch errors when running it from home directory
Clean
Rework local/global configuration
Fix tests
Minor fixes
Add an option to switch branch on installer
Skip some tests on travis to avoid build timeout until I find a way of working it around