Added filehost submodule
Added config options to control session cookie parameters (cherry-picked from master)

Conflicts:
	include/app_class.php