More work towards better function replace algo.

 - Parameters are now found properly
 - VS 2013 / Edit&Continue work-around