[5.0] Cleaned abort method and imported HttpException

Thanks @GrahamCampbell  !
It's a bit long winded. I don't see the point since `NotFoundHttpException` extends `HttpException` anyway, so it's not wrong to just put `\Symfony\Component\HttpKernel\Exception\HttpException`.