Add function to run checked computations in `MonadError`
Add function to run checked computations in `MonadError`

This is just a generalized version of `try`.

Signed-off-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>
Reviewed-by: Hrvoje Ribicic <be5828fca31f89218048bec4189e30a581aa65da@google.com>

dimara/ganeti,yiannist/ganeti,bitemyapp/ganeti,ganeti/ganeti,andir/ganeti,grnet/snf-ganeti,yiannist/ganeti,andir/ganeti,grnet/snf-ganeti,andir/ganeti,onponomarev/ganeti,mbakke/ganeti,mbakke/ganeti,yiannist/ganeti,ganeti/ganeti,onponomarev/ganeti,bitemyapp/ganeti,leshchevds/ganeti,dimara/ganeti,leshchevds/ganeti,mbakke/ganeti,leshchevds/ganeti,ganeti/ganeti