Identification bug fixes
These commits fix some bugs introduced in 4.6 which lead to some wrong computations in the Jacobian of the moments in some cases and also when using the useautocorr option. Needs to be backported to 4.6.
To Do (see discussion in #1733 (closed))
- add better testcase in testsuite for checking that if parameters are changed in steady state then we switch to analytic_derivation_mode=-2
- add testcase(s) that really errors if Jacobians are wrongly computed. Currently the testsuite only checks if all the features work, but do not check the feasibility of results