session: revert some earlier changes and some terminal fixes
Merge branch 'devel' of github.com:01org/tlm into devel

Conflicts:
	src/daemon/tlm-session.c
config: fix configuration handling
session: fix terminal and process group setup