add tenor parameter to underlyingSwap method in SwapIndex,
use this in gaussian 1d models,
replace market cap surface in markov test suite by flat surface if thread safe observable is active