Fuels and electricity from biomass with CO2 capture and storage