Cperello/psgi fixes

This branch includes several fixes to the framework due to the apache removal and fixes usercorner, it's now 100% functional.

	User Corner Test Suite
		InstallNonProfilePackages: OK
		EnableUsersZentyalTest: OK
		AddUser: OK
		Check-Login: OK
		Change-Password: OK
		Check-Login-failed: OK
		Check-Login-success: OK
		check-zentyal-log: OK
		check-syslog-apparmor: OK