set http 500 when session could not be started to prevent serving of empty files see #1049
write an error log when session could not be initialized
added simple error message for the browser
use error template
Merge pull request #1898 from owncloud/session_start_fix

set http 500 when session could not be started to prevent serving of emp...