NGI_pipeline working version

It is still under testing but it should be pretty stable: @mario please review it carefully
This is awesome, I didn't know about `sys.exc_info`