Replace Exception with Icinga\Exception\ProgrammingError in Icinga\Application\Loader

refs #6542