fix the wrapping runtime exceptions to inherit from WebApplicationException, use a real delegate for TxAwareSession