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>
Merge pull request #1362 from echampet/dupfix

Webapp stuck with "Key duplication when adding: httpModules"