Examples work

Fixed a bug following the signature change of searchlight().
Corrected a bug in gen_rst.py that prevented documentation compilation
if one of the examples failed.