Catch all exception when instanciating a controller

This is the fix that replace https://github.com/hoaproject/Core/pull/19