fix headers already sent warnings when using session_start()

Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
Merge branch 'QA_4_1'

Conflicts:
	libraries/Util.class.php