HttpApplication: set StatusCode = 500 when we send an exception to the client

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
WebConfigurationManager: protect GetSection

all public static should be thread-safe

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
WebConfigurationManager: simplify call to ConfigurationSection.GetRuntimeObject ()

this call come from an obfuscation contest :) ?

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
HttpApplication: if there is an exception in InitOnce, output it on the Console

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>