Xenstore_server.JunkSourceapply the clean_f function after fct function has been called. * Even if fct raises an exception, clean_f is applied
if v is not none, apply f on it and return some value else return none.
default value to d if v is none.
apply f on v if not none