Fully implicit simulator

This collects a large amount of changes and fixes, which in combination yields a fully implicit black-oil simulator, sim_fibo_ad.cpp.